mirror of
https://github.com/soarqin/DSP_Mods.git
synced 2025-12-09 15:33:31 +08:00
minor fix
This commit is contained in:
@@ -97,7 +97,7 @@ public static class FactoryFunctions
|
|||||||
if (sc.id != stationId) continue;
|
if (sc.id != stationId) continue;
|
||||||
for (int i = 0; i < sc.storage.Length; i++)
|
for (int i = 0; i < sc.storage.Length; i++)
|
||||||
{
|
{
|
||||||
int package = player.TryAddItemToPackage(sc.storage[i].itemId, sc.storage[i].count, 0, true, objId);
|
int package = player.TryAddItemToPackage(sc.storage[i].itemId, sc.storage[i].count, sc.storage[i].inc, true, objId);
|
||||||
UIItemup.Up(sc.storage[i].itemId, package);
|
UIItemup.Up(sc.storage[i].itemId, package);
|
||||||
}
|
}
|
||||||
sc.storage = new StationStore[sc.storage.Length];
|
sc.storage = new StationStore[sc.storage.Length];
|
||||||
|
|||||||
Reference in New Issue
Block a user