mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
Should Fix #1559
This commit is contained in:
@@ -45,7 +45,8 @@ _canDo = (!r_drag_sqf && !r_player_unconscious && !_onLadder);
|
|||||||
// Need Near Requirements
|
// Need Near Requirements
|
||||||
_needNear = getArray (configFile >> _baseClass >> _item >> "ItemActions" >> _crafting >> "neednearby");
|
_needNear = getArray (configFile >> _baseClass >> _item >> "ItemActions" >> _crafting >> "neednearby");
|
||||||
if("fire" in _needNear) then {
|
if("fire" in _needNear) then {
|
||||||
_isNear = {inflamed _x} count (getPosATL player nearObjects _distance);
|
_pPos = [player] call FNC_GetPos;
|
||||||
|
_isNear = {inflamed _x} count (_pPos nearObjects _distance);
|
||||||
if(_isNear == 0) then {
|
if(_isNear == 0) then {
|
||||||
_abort = true;
|
_abort = true;
|
||||||
_reason = "fire";
|
_reason = "fire";
|
||||||
|
|||||||
Reference in New Issue
Block a user