Added a cell check to OnCellAttach in critter.psc, somehow a critter may not have a cell yet
This commit is contained in:
parent
bca900a356
commit
eb34dda08b
Binary file not shown.
@ -251,7 +251,7 @@ EVENT OnCellAttach()
|
||||
;~ Trace(self + "OnCellAttach() isDeleted", 2)
|
||||
elseIf isDisabled()
|
||||
;~ Trace(self + "OnCellAttach() isDisabled", 2)
|
||||
else
|
||||
elseif GetParentCell()
|
||||
; possibly trigger shorter OnUpdate time in Critter OnCritterGoalFailed()
|
||||
StopTranslation()
|
||||
endIf
|
||||
|
Loading…
Reference in New Issue
Block a user