mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Medical Statemachine - Ensure bleedout condition string is code (#7998)
This commit is contained in:
parent
92cd367765
commit
a621d2eb72
@ -103,7 +103,7 @@ class ACE_Medical_StateMachine {
|
||||
};
|
||||
class Bleedout {
|
||||
targetState = "Dead";
|
||||
condition = QGVAR(cardiacArrestBleedoutEnabled);
|
||||
condition = QUOTE((GVAR(cardiacArrestBleedoutEnabled))); // wrap to ensure cba uses this as code and not a direct variable
|
||||
events[] = {QEGVAR(medical,Bleedout)};
|
||||
};
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user