mirror of
https://github.com/soarqin/DSP_Mods.git
synced 2025-12-09 15:33:31 +08:00
fix possible crash with performance tweaks
This commit is contained in:
@@ -250,9 +250,11 @@ public static class PlanetFunctions
|
|||||||
}
|
}
|
||||||
factory.entityCursor = 1;
|
factory.entityCursor = 1;
|
||||||
factory.entityRecycleCursor = 0;
|
factory.entityRecycleCursor = 0;
|
||||||
|
factory.entityCapacity = 0;
|
||||||
factory.SetEntityCapacity(1024);
|
factory.SetEntityCapacity(1024);
|
||||||
factory.prebuildCursor = 1;
|
factory.prebuildCursor = 1;
|
||||||
factory.prebuildRecycleCursor = 0;
|
factory.prebuildRecycleCursor = 0;
|
||||||
|
factory.prebuildCapacity = 0;
|
||||||
factory.SetPrebuildCapacity(256);
|
factory.SetPrebuildCapacity(256);
|
||||||
factory.cargoContainer = new CargoContainer();
|
factory.cargoContainer = new CargoContainer();
|
||||||
factory.cargoTraffic = new CargoTraffic(planet);
|
factory.cargoTraffic = new CargoTraffic(planet);
|
||||||
|
|||||||
Reference in New Issue
Block a user