mirror of
https://github.com/soarqin/DSP_Mods.git
synced 2026-03-23 02:13:37 +08:00
UXAssist: crash fix
This commit is contained in:
@@ -102,7 +102,7 @@ public static class FactoryFunctions
|
||||
if (stationId > 0)
|
||||
{
|
||||
StationComponent sc = stationPool[stationId];
|
||||
if (sc.id != stationId) continue;
|
||||
if (sc is null || sc.id != stationId) continue;
|
||||
for (int i = 0; i < sc.storage.Length; i++)
|
||||
{
|
||||
int package = player.TryAddItemToPackage(sc.storage[i].itemId, sc.storage[i].count, sc.storage[i].inc, true, objId);
|
||||
|
||||
Reference in New Issue
Block a user