Fixed state machine not running for units

This commit is contained in:
BaerMitUmlaut 2016-11-29 12:35:26 +01:00
parent 24ada4dab3
commit ac28bce578
2 changed files with 4 additions and 1 deletions

View File

@ -1,4 +1,7 @@
class ACE_Medical_StateMachine {
list = "allUnits select {local _x}";
skipNull = 1;
class Default {
onState = QUOTE(DFUNC(handleStateDefault));
class Injury {

View File

@ -20,7 +20,7 @@ PREP(leavingStateCardiacArrest);
PREP(enteredStateFatalInjury);
PREP(conditionExecutionDeath);
PREP(transitionInstantDeathPrevented);
PREP(transitionSecondChance);
PREP(handleStateDefault);
PREP(handleStateInjured);