ACE3/addons/noradio/XEH_post_initServer.sqf

11 lines
316 B
Plaintext
Raw Normal View History

// by commy2
2015-01-14 03:04:25 +00:00
#include "script_component.hpp"
addMissionEventHandler ["HandleDisconnect", {
2015-01-14 03:17:34 +00:00
if !((_this select 0) getVariable ["ACE_isUnconscious", false]) then { //@ToDo: ai waking up will be silent?
_this call EFUNC(common,unMuteUnit);
};
(_this select 0) setVariable [QGVAR(isMuted), false, true];
}];