mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Save pain next tick in GVAR instead of on unit
This commit is contained in:
parent
1dc301e023
commit
9cef8ea591
@ -18,8 +18,8 @@ if (!_enable) exitWith {
|
||||
GVAR(ppPain) ppEffectEnable true;
|
||||
|
||||
// Trigger effect every 2s
|
||||
private _showNextTick = ACE_player getVariable [QGVAR(showPainNextTick), true];
|
||||
ACE_player setVariable [QGVAR(showPainNextTick), !_showNextTick];
|
||||
private _showNextTick = missionNamespace getVariable [QGVAR(showPainNextTick), true];
|
||||
GVAR(showPainNextTick) = !_showNextTick;
|
||||
if (_showNextTick) exitWith {};
|
||||
|
||||
private _initialAdjust = [];
|
||||
|
Loading…
Reference in New Issue
Block a user