Fix for possible error in sgui/reactor.lua