mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +03:00
#924 missing array around classname
This commit is contained in:
@@ -3,7 +3,7 @@ private ["_nearTankTraps","_nearTankTrap"];
|
|||||||
_onLadder = (getNumber (configFile >> "CfgMovesMaleSdr" >> "States" >> (animationState player) >> "onLadder")) == 1;
|
_onLadder = (getNumber (configFile >> "CfgMovesMaleSdr" >> "States" >> (animationState player) >> "onLadder")) == 1;
|
||||||
_canDo = (!r_drag_sqf and !r_player_unconscious and !_onLadder);
|
_canDo = (!r_drag_sqf and !r_player_unconscious and !_onLadder);
|
||||||
|
|
||||||
_nearTankTraps = nearestObjects [player, "Hedgehog_DZ", 1];
|
_nearTankTraps = nearestObjects [player, ["Hedgehog_DZ"], 1];
|
||||||
_nearTankTrap = _nearTankTraps select 0;
|
_nearTankTrap = _nearTankTraps select 0;
|
||||||
|
|
||||||
if (!isNull _nearTankTrap and _canDo) then {
|
if (!isNull _nearTankTrap and _canDo) then {
|
||||||
|
|||||||
Reference in New Issue
Block a user