mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
11 lines
316 B
Plaintext
11 lines
316 B
Plaintext
// by commy2
|
|
|
|
#include "script_component.hpp"
|
|
|
|
addMissionEventHandler ["HandleDisconnect", {
|
|
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];
|
|
}];
|