mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +03:00
Add isNull check
This commit is contained in:
@@ -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