mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Replaced disableUserInput by setDisableUserInputStatus
Makes use of the wrapper around disableUserInput, so it will play nice with others
This commit is contained in:
parent
d5e5ab24f2
commit
4b584846b4
@ -78,7 +78,7 @@ GVAR(effectTimeBlood) = time;
|
||||
GVAR(effectBloodVolumeCC) ppEffectEnable false;
|
||||
GVAR(effectPainCA) ppEffectEnable false;
|
||||
GVAR(effectPainCC) ppEffectEnable false;
|
||||
[false] call EFUNC(common,disableUserInput); // @todo, only when disabled?
|
||||
["unconscious", false] call EFUNC(common,setDisableUserInputStatus);
|
||||
};
|
||||
|
||||
// Unconsciousness effect
|
||||
@ -86,11 +86,11 @@ GVAR(effectTimeBlood) = time;
|
||||
GVAR(effectUnconsciousCC) ppEffectEnable true;
|
||||
GVAR(effectUnconsciousRB) ppEffectEnable true;
|
||||
GVAR(effectBlind) = true;
|
||||
[true, true] call EFUNC(common,disableUserInput); // @todo, see above
|
||||
["unconscious", true] call EFUNC(common,setDisableUserInputStatus);
|
||||
} else {
|
||||
GVAR(effectUnconsciousCC) ppEffectEnable false;
|
||||
GVAR(effectUnconsciousRB) ppEffectEnable false;
|
||||
[false] call EFUNC(common,disableUserInput); // @todo, see above
|
||||
["unconscious", false] call EFUNC(common,setDisableUserInputStatus);
|
||||
if (GVAR(effectBlind)) then {
|
||||
_strength = 0.78 * (call EFUNC(common,ambientBrightness));
|
||||
GVAR(effectBlindingCC) ppEffectEnable true;
|
||||
|
Loading…
Reference in New Issue
Block a user