Clarify the maximumCardiacArrestTime setting

This commit is contained in:
SilentSpike 2016-11-13 21:45:38 +00:00
parent 27728172ed
commit 24ada4dab3
2 changed files with 3 additions and 3 deletions

View File

@ -51,9 +51,9 @@ GVAR(STATE_MACHINE) = (configFile >> "ACE_Medical_StateMachine") call CBA_statem
] call CBA_Settings_fnc_init;
[
QGVAR(maximumCardiacArrestTime),
QGVAR(cardiacArrestTime),
"SLIDER",
["Maximum Cardiac Arrest Time", "Sets the maximum amount of time a unit can stay in cardiac arrest before dying."], //@todo
["Cardiac Arrest Time", "Sets how long cardiac arrest will last for (in minutes)."], //@todo
"ACE Medical", // @todo
[0, 30, 2, 0],
true

View File

@ -15,4 +15,4 @@ params ["_unit"];
private _startTime = _unit getVariable [QGVAR(cardiacArrestStart), CBA_missionTime];
(CBA_missionTime - _startTime) > (GVAR(maximumCardiacArrestTime) * 60)
(CBA_missionTime - _startTime) > (GVAR(cardiacArrestTime) * 60)