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