mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-10-05 12:39:34 +03:00
Add isNull check
This commit is contained in:
1 parent
e4458a24e3
commit
90b76d4ed5
1 file changed
+3
@@ -11,6 +11,9 @@ player removeAction s_player_deleteBuild;
|
|||||||
s_player_deleteBuild = 1;
|
s_player_deleteBuild = 1;
|
||||||
|
|
||||||
_obj = _this select 3;
|
_obj = _this select 3;
|
||||||
|
|
||||||
|
if (isNull _obj) exitWith {dayz_actionInProgress = false; systemChat localize "str_cursorTargetNotFound";};
|
||||||
|
|
||||||
_objOwnerID = "0";
|
_objOwnerID = "0";
|
||||||
_isOwnerOfObj = false;
|
_isOwnerOfObj = false;
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user