use getposalt instead of position here fixes

http://bmrf.me/vbforums/showthread.php?11562-Smelting-Tin-BUG&p=75405#post75405
This commit is contained in:
[VB]AWOL
2013-12-11 08:17:12 -06:00
parent a37a78e251
commit 51c7d3fc87
6 changed files with 14 additions and 10 deletions

View File

@@ -16,7 +16,7 @@ if (!_haskey) exitWith {DZE_ActionInProgress = false; cutText [format[(localize
_hastoolweapon = "ItemKeyKit" in weapons player;
if (!_hastoolweapon) exitWith {DZE_ActionInProgress = false; cutText [(localize "str_epoch_player_57") , "PLAIN DOWN"]};
_isNear = {inflamed _x} count (position player nearObjects 3);
_isNear = {inflamed _x} count (getPosATL player nearObjects 3);
if(_isNear == 0) exitWith {DZE_ActionInProgress = false; cutText [(localize "str_epoch_player_58") , "PLAIN DOWN"]};
call gear_ui_init;