diff --git a/addons/respawn/CfgVehicles.hpp b/addons/respawn/CfgVehicles.hpp index 0da25103b1..7264a81aed 100644 --- a/addons/respawn/CfgVehicles.hpp +++ b/addons/respawn/CfgVehicles.hpp @@ -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; }; @@ -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; }; @@ -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; }; @@ -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; }; @@ -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; }; @@ -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; }; diff --git a/addons/respawn/config.cpp b/addons/respawn/config.cpp index 18a83d60e9..2391af350f 100644 --- a/addons/respawn/config.cpp +++ b/addons/respawn/config.cpp @@ -21,5 +21,5 @@ class CfgPatches { class ACE_Parameters_Boolean { GVAR(SavePreDeathGear) = 0; - GVAR(RemoveDeadBodiesDisonncected) = 1; + GVAR(RemoveDeadBodiesDisconnected) = 1; }; diff --git a/addons/respawn/functions/fnc_canMoveRallypoint.sqf b/addons/respawn/functions/fnc_canMoveRallypoint.sqf index e6f91a256f..d5f325c067 100644 --- a/addons/respawn/functions/fnc_canMoveRallypoint.sqf +++ b/addons/respawn/functions/fnc_canMoveRallypoint.sqf @@ -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], diff --git a/addons/respawn/functions/fnc_module.sqf b/addons/respawn/functions/fnc_module.sqf index 0a98eb24da..0a996d0acc 100644 --- a/addons/respawn/functions/fnc_module.sqf +++ b/addons/respawn/functions/fnc_module.sqf @@ -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;