Fix tests following 945d1ba2e6
945d1ba2e6
broke formation regression tests because there now needs to
be a timer call after the units become idle for behaviour to trigger.
Differential Revision: https://code.wildfiregames.com/D2077
This was SVN commit r22477.
This commit is contained in:
parent
4f62cc3ee7
commit
e1bde4c337
@ -161,6 +161,8 @@ function TestFormationExiting(mode)
|
||||
|
||||
controllerFormation.Disband();
|
||||
|
||||
unitAI.UnitFsm.ProcessMessage(unitAI, { "type": "Timer" });
|
||||
|
||||
if (mode == 0)
|
||||
TS_ASSERT_EQUALS(unitAI.fsmStateName, "INDIVIDUAL.IDLE");
|
||||
else if (mode == 1)
|
||||
|
Loading…
Reference in New Issue
Block a user