Skip to content

Commit

Permalink
Fixed and working.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaynus committed Jan 14, 2015
1 parent 1f8eac7 commit 7622f3d
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
12 changes: 6 additions & 6 deletions addons/respawn/CfgVehicles.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ class CfgVehicles {
displayName = "Teleport to Rallypoint";
distance = 4;
condition = QUOTE(side group _player == west);
statement = QUOTE([_player, side group _player, false] call FUNC(teleportToRallypoint););
statement = QUOTE([_player, side group _player, false] call FUNC(teleportToRallypoint));
showDisabled = 1;
priority = 1;
};
Expand All @@ -102,7 +102,7 @@ class CfgVehicles {
displayName = "Teleport to Rallypoint";
distance = 4;
condition = QUOTE(side group _player == east);
statement = QUOTE([_player, side group _player, false] call FUNC(teleportToRallypoint););
statement = QUOTE([_player, side group _player, false] call FUNC(teleportToRallypoint));
showDisabled = 1;
priority = 1;
};
Expand All @@ -122,7 +122,7 @@ class CfgVehicles {
displayName = "Teleport to Rallypoint";
distance = 4;
condition = QUOTE(side group _player == independent);
statement = QUOTE([_player, side group _player, false] call FUNC(teleportToRallypoint););
statement = QUOTE([_player, side group _player, false] call FUNC(teleportToRallypoint));
showDisabled = 1;
priority = 1;
};
Expand All @@ -143,7 +143,7 @@ class CfgVehicles {
displayName = "Teleport to Base";
distance = 4;
condition = QUOTE(side group _player == west);
statement = QUOTE([_player, side group _player, true] call FUNC(teleportToRallypoint););
statement = QUOTE([_player, side group _player, true] call FUNC(teleportToRallypoint));
showDisabled = 1;
priority = 1;
};
Expand All @@ -163,7 +163,7 @@ class CfgVehicles {
displayName = "Teleport to Base";
distance = 4;
condition = QUOTE(side group _player == east);
statement = QUOTE([_player, side group _player, true] call FUNC(teleportToRallypoint););
statement = QUOTE([_player, side group _player, true] call FUNC(teleportToRallypoint));
showDisabled = 1;
priority = 1;
};
Expand All @@ -183,7 +183,7 @@ class CfgVehicles {
displayName = "Teleport to Base";
distance = 4;
condition = QUOTE(side group _player == independent);
statement = QUOTE([_player, side group _player, true] call FUNC(teleportToRallypoint););
statement = QUOTE([_player, side group _player, true] call FUNC(teleportToRallypoint));
showDisabled = 1;
priority = 1;
};
Expand Down
2 changes: 1 addition & 1 deletion addons/respawn/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ class CfgPatches {

class ACE_Parameters_Boolean {
GVAR(SavePreDeathGear) = 0;
GVAR(RemoveDeadBodiesDisonncected) = 1;
GVAR(RemoveDeadBodiesDisconnected) = 1;
};
2 changes: 1 addition & 1 deletion addons/respawn/functions/fnc_canMoveRallypoint.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ _side = _this select 1;

// rallypoint names are defined in CfgVehicles.hpp

_unit getVariable ["ACE_canMoveRallypoint"), false]
_unit getVariable ["ACE_canMoveRallypoint", false]
&& {!isNull ([
objNull,
missionNamespace getVariable ["ACE_Rallypoint_West", objNull],
Expand Down
4 changes: 2 additions & 2 deletions addons/respawn/functions/fnc_module.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ if !(_activated) exitWith {};
GVAR(Module) = true;

[_logic, QGVAR(SavePreDeathGear), "SavePreDeathGear"] call EFUNC(common,readBooleanParameterFromModule);
[_logic, QGVAR(RemoveDeadBodiesDisonncected), "RemoveDeadBodiesDisonncected"] call EFUNC(common,readBooleanParameterFromModule);
[_logic, QGVAR(RemoveDeadBodiesDisconnected), "RemoveDeadBodiesDisconnected"] call EFUNC(common,readBooleanParameterFromModule);

if (isServer) then {
if (GVAR(RemoveDeadBodiesDisonncected)) then {
if (GVAR(RemoveDeadBodiesDisconnected)) then {
_fnc_deleteDisconnected = {
_this spawn {
_unit = _this select 0;
Expand Down

0 comments on commit 7622f3d

Please sign in to comment.