mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
66c2bf0506
- Removed unused(?) GVAR(Module) - Removed "white space alignment" in module.sqf
18 lines
463 B
Plaintext
18 lines
463 B
Plaintext
#include "script_component.hpp"
|
|
|
|
["SettingsInitialized", {
|
|
if (GVAR(RemoveDeadBodiesDisconnected)) then {
|
|
addMissionEventHandler ["HandleDisconnect", {
|
|
[{
|
|
params ["_unit"];
|
|
|
|
if (!alive _unit) then {
|
|
deleteVehicle _unit;
|
|
};
|
|
},
|
|
_this, 4] call EFUNC(common,waitAndExecute);
|
|
false
|
|
}];
|
|
};
|
|
}] call EFUNC(common,addEventHandler);
|