Progress on the new AISET_BALANCER class

This commit is contained in:
Sven Van de Velde
2016-08-24 14:34:04 +02:00
parent 167b0dd598
commit 0edb083d5d
64 changed files with 1133 additions and 506 deletions

View File

@@ -350,7 +350,7 @@ function BASE:GetState( Object, StateName )
local ClassNameAndID = Object:GetClassNameAndID()
if self.States[ClassNameAndID] then
local State = self.States[ClassNameAndID][StateName]
local State = self.States[ClassNameAndID][StateName] or false
self:T2( { ClassNameAndID, StateName, State } )
return State
end