Update EPOCH_server_teleportPlayer.sqf

typo _plyr to _player
This commit is contained in:
Robio 2015-12-24 17:48:59 -06:00
parent bd183c7d2e
commit 801cab86da

View File

@ -5,9 +5,9 @@ _teleporter = _this select 1;
if !([_player, _this select 2] call EPOCH_server_getPToken) exitWith{};
if (isNull _teleporter) exitWith{};
if (_plyr distance _teleporter > 20) exitWith{};
if (_player distance _teleporter > 20) exitWith{};
_tp = _teleporter getVariable["ParentBuilding", []];
if !(_tp isEqualTo []) then {
_player setPosATL _tp;
};
};