Shortened isBuilding check

An unnecessary 'and true' was removed from the return statement.
This commit is contained in:
hbomb79 2016-04-23 12:01:37 +12:00
parent 4e7c7a02f3
commit 65bf7a0b98

View file

@ -49,7 +49,7 @@ end
local function isBuilding()
if current or currentReg then
return ( current and currentReg and true ) or throw("A class registry error has occured")
return ( current and currentReg ) or throw("A class registry error has occured")
end
return false
end