mirror of
https://github.com/soarqin/DSP_Mods.git
synced 2025-12-08 23:33:33 +08:00
finished new mechanism for blueprint building sorting
This commit is contained in:
@@ -764,8 +764,15 @@ public static class LogisticsPatch
|
||||
|
||||
public static void Enable(bool on)
|
||||
{
|
||||
if (_stationTipsRoot)
|
||||
_stationTipsRoot.SetActive(on);
|
||||
if (_stationTipsRoot == null) return;
|
||||
if (!on)
|
||||
{
|
||||
_stationTipsRoot.SetActive(false);
|
||||
return;
|
||||
}
|
||||
if (DSPGame.IsMenuDemo || !GameMain.isRunning) return;
|
||||
_lastPlanet = GameMain.localPlanet;
|
||||
_stationTipsRoot.SetActive(on && _lastPlanet != null);
|
||||
}
|
||||
|
||||
public static void EnableBars(bool on)
|
||||
|
||||
Reference in New Issue
Block a user