mirror of
https://github.com/hbomb79/Titanium.git
synced 2025-01-22 17:32:06 -05:00
Shortened isBuilding check
An unnecessary 'and true' was removed from the return statement.
This commit is contained in:
parent
4e7c7a02f3
commit
65bf7a0b98
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue