Compatibility for Halv Spawn

This commit is contained in:
He-Man 2019-08-30 23:08:52 +02:00
parent 3e3a0a8661
commit 3fe960b388

View File

@ -13,5 +13,10 @@
https://github.com/EpochModTeam/Epoch/tree/release/Sources/epoch_code/compile/EPOCH_EnterBuilding.sqf
*/
if !(isNull _this) then{
if (!isnil "HALV_senddeftele") exitwith {
if (isnull (finddisplay 7777)) then {
[] execVM "addons\halv_spawn\opendialog.sqf";
};
};
[player,_this,Epoch_personalToken] remoteExec ["EPOCH_server_teleportPlayer",2];
};