1
0
mirror of https://github.com/soarqin/DSP_Mods.git synced 2026-03-22 13:23:28 +08:00

code format

This commit is contained in:
2026-02-09 21:12:32 +08:00
parent 358fd4cf23
commit f0ee1aaea9
4 changed files with 8 additions and 4 deletions

View File

@@ -399,7 +399,9 @@ public static class LogisticsPatch
station = stationStorage.station;
index = stationStorage.index;
planetFactory = stationStorage.stationWindow?.factory;
} else {
}
else
{
var controlPanelStationStorage = target.gameObject.GetComponentInParent<UIControlPanelStationStorage>();
if (controlPanelStationStorage == null) continue;
station = controlPanelStationStorage.station;