mirror of
https://github.com/soarqin/DSP_Mods.git
synced 2025-12-10 07:23:28 +08:00
fix a logistics panel display issue while recreating planet
This commit is contained in:
@@ -741,7 +741,7 @@ public static class LogisticsPatch
|
|||||||
|
|
||||||
var factory = localPlanet.factory;
|
var factory = localPlanet.factory;
|
||||||
var transport = factory?.transport;
|
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)
|
if (_stationTipRoot.activeSelf)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user