Remove dayz_objectUID2 from object loading

DB with ~4000 vehicles fails to load since this code runs on nearly
every vehicle for some reason. The code should only be called upon
vehicle purchase to increase load time and simply calling
dayz_objectUID2 has no effect.
This commit is contained in:
icomrade
2016-05-15 18:42:50 -04:00
parent eda3e1c202
commit 2df7279f1a

View File

@@ -67,7 +67,6 @@ if (_status == "ObjectStreamStart") then {
_hitPoints = if ((typeName (_x select 6)) == "ARRAY") then { _x select 6 } else { [] };
_fuel = if ((typeName (_x select 7)) == "SCALAR") then { _x select 7 } else { 0 };
_damage = if ((typeName (_x select 8)) == "SCALAR") then { _x select 8 } else { 0.9 };
_worldspace call dayz_objectUID2; // Set objectUIDs in currentObjectUIDs list to prevent duplicates
//set object to be in maintenance mode
_maintenanceMode = false;