mirror of
https://github.com/soarqin/DSP_Mods.git
synced 2026-11-19 17:05:20 +08:00
fix a logistics panel display issue while recreating planet
This commit is contained in:
1 parent
3486cc9ca2
commit
706e1649a1
1 file changed
+1
-1
@@ -741,7 +741,7 @@ public static class LogisticsPatch
|
||||
|
||||
var factory = localPlanet.factory;
|
||||
var transport = factory?.transport;
|
||||
if (transport == null || transport.stationCursor == 0 || (UIGame.viewMode != EViewMode.Normal && UIGame.viewMode != EViewMode.Globe))
|
||||
if (transport is not { stationCursor: > 1 } || (UIGame.viewMode != EViewMode.Normal && UIGame.viewMode != EViewMode.Globe))
|
||||
{
|
||||
if (_stationTipRoot.activeSelf)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user