mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 20:13:13 +03:00
Merge pull request #1334 from Namindu/patch-1
"(_callerID != 0)" was listed twice, in "If"
This commit is contained in:
@@ -7,7 +7,7 @@ r_action = false;
|
|||||||
|
|
||||||
_callerID = _caller getVariable ["CharacterID", "0"];
|
_callerID = _caller getVariable ["CharacterID", "0"];
|
||||||
_targetID = _target getVariable ["CharacterID", "0"];
|
_targetID = _target getVariable ["CharacterID", "0"];
|
||||||
if ((_callerID != 0) && (_callerID != 0)) then {
|
if ((_callerID != 0) && (_targetID != 0)) then {
|
||||||
_friendlies = _caller getVariable ["friendlies", []];
|
_friendlies = _caller getVariable ["friendlies", []];
|
||||||
_friendlies set [count _friendlies, _targetID];
|
_friendlies set [count _friendlies, _targetID];
|
||||||
_caller setVariable ["friendlies", _friendlies, true];
|
_caller setVariable ["friendlies", _friendlies, true];
|
||||||
|
|||||||
Reference in New Issue
Block a user