mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
Add isNull check
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user