mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-04-16 09:23:23 +03:00
Remove more ObjectIDs and ObjectUIDs from certain scripts
This commit is contained in:
@@ -17,11 +17,9 @@ player removeAction s_player_upgrade_build;
|
||||
s_player_upgrade_build = 1;
|
||||
|
||||
local _obj = _this select 3;
|
||||
local _objectID = _obj getVariable ["ObjectID","0"];
|
||||
local _objectUID = _obj getVariable ["ObjectUID","0"];
|
||||
local _classname = typeOf _obj;
|
||||
|
||||
if ((_objectID == "0" && _objectUID == "0") || {_classname in DZE_DisableUpgrade}) exitWith {
|
||||
if (_classname in DZE_DisableUpgrade) exitWith {
|
||||
dayz_actionInProgress = false;
|
||||
s_player_upgrade_build = -1;
|
||||
localize "str_epoch_player_50" call dayz_rollingMessages; // Not setup yet.
|
||||
|
||||
Reference in New Issue
Block a user