mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Fixes
This commit is contained in:
parent
bbb84ec7d1
commit
35e13d5357
@ -110,7 +110,7 @@ if (GVAR(level) >= 2) then {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
// Handle toruniquets
|
// Handle tourniquets
|
||||||
private _tourniquets = _unit getVariable [QGVAR(tourniquets), [0,0,0,0,0,0]];
|
private _tourniquets = _unit getVariable [QGVAR(tourniquets), [0,0,0,0,0,0]];
|
||||||
{
|
{
|
||||||
private _appliedTime = _x;
|
private _appliedTime = _x;
|
||||||
@ -120,7 +120,7 @@ if (GVAR(level) >= 2) then {
|
|||||||
// Increase pain at a rate of 0.001 units/s
|
// Increase pain at a rate of 0.001 units/s
|
||||||
_unit setVariable [QGVAR(pain), (_unit getVariable [QGVAR(pain), 0]) + 0.001];
|
_unit setVariable [QGVAR(pain), (_unit getVariable [QGVAR(pain), 0]) + 0.001];
|
||||||
};
|
};
|
||||||
}
|
};
|
||||||
} forEach _tourniquets;
|
} forEach _tourniquets;
|
||||||
|
|
||||||
// Set the vitals
|
// Set the vitals
|
||||||
|
Loading…
Reference in New Issue
Block a user