Add isNull check

This commit is contained in:
AirwavesMan committed 2021-03-29 17:26:19 +02:00
1 parent e4458a24e3
commit 90b76d4ed5
1 file changed
+3
+3
View File
@@ -11,6 +11,9 @@ player removeAction s_player_deleteBuild;
s_player_deleteBuild = 1;
_obj = _this select 3;
if (isNull _obj) exitWith {dayz_actionInProgress = false; systemChat localize "str_cursorTargetNotFound";};
_objOwnerID = "0";
_isOwnerOfObj = false;