fixed to use proper 4-space tabbing

This commit is contained in:
Niko Lehtovirta 2015-04-11 20:36:38 +03:00
parent 0e0935ac01
commit 4b50d760e9
3 changed files with 14 additions and 29 deletions

View File

@ -32,23 +32,17 @@ GVAR(Module) = true;
if (isServer) then { if (isServer) then {
if (GVAR(RemoveDeadBodiesDisconnected)) then { if (GVAR(RemoveDeadBodiesDisconnected)) then {
addMissionEventHandler ["HandleDisconnect", addMissionEventHandler ["HandleDisconnect", {
{ [{
[
{
_unit = _this select 0; _unit = _this select 0;
if (!alive _unit) then { if (!alive _unit) then {
deleteVehicle _unit; deleteVehicle _unit;
}; };
}, },
_this, _this, 4, 1] call EFUNC(common,waitAndExecute);
4,
1
] call EFUNC(common,waitAndExecute);
false false
} }];
];
}; };
}; };

View File

@ -37,8 +37,7 @@ if (count _position == 0) then {_position = getPosATL _unit};
_position set [2, 0]; _position set [2, 0];
[ [{
{
_rallypoint = _this select 0; _rallypoint = _this select 0;
_unit = _this select 1; _unit = _this select 1;
_position = _this select 2; _position = _this select 2;
@ -55,7 +54,4 @@ _position set [2, 0];
[localize "STR_ACE_Respawn_Deploy"] call EFUNC(common,displayTextStructured); [localize "STR_ACE_Respawn_Deploy"] call EFUNC(common,displayTextStructured);
}, },
[_rallypoint, _unit, _position, _rallypoint], [_rallypoint, _unit, _position, _rallypoint], 5, 1] call EFUNC(common,waitAndExecute);
5,
1
] call EFUNC(common,waitAndExecute);

View File

@ -29,13 +29,8 @@ if (_forceRemove) then {
_bodyRemoveTimer = 2; _bodyRemoveTimer = 2;
}; };
[ [{
{
// hideBody takes ~20s till body is fully underground // hideBody takes ~20s till body is fully underground
// a better hideBody would make this more aesthetic // a better hideBody would make this more aesthetic
deleteVehicle _this; deleteVehicle _this;
}, }, _body, _bodyRemoveTimer, 1] call EFUNC(common,waitAndExecute);
_body,
_bodyRemoveTimer,
1
] call EFUNC(common,waitAndExecute);