Merge pull request from RC-Robio/patch-1

Update EPOCH_server_teleportPlayer.sqf
This commit is contained in:
vbawol 2015-12-25 07:42:43 -06:00
commit eaea7a471a

@ -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;
};
};