mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Only force enable input when player is killed (#7510)
This commit is contained in:
parent
cdf02f629e
commit
d1c03cec1a
@ -39,7 +39,7 @@ TRACE_3("killer info",_killer,_instigator,_causeOfDeath);
|
||||
if (_unit isEqualTo (_unit getVariable [QGVAR(killed), objNull])) exitWith {}; // ensure event is only called once
|
||||
_unit setVariable [QGVAR(killed), _unit];
|
||||
|
||||
if (IS_UNCONSCIOUS(_unit)) then {
|
||||
if (_unit == player) then {
|
||||
// Enable user input before respawn, in case mission is using respawnTemplates
|
||||
["unconscious", false] call EFUNC(common,setDisableUserInputStatus);
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user