1
0
mirror of https://github.com/soarqin/DSP_Mods.git synced 2025-12-08 21:33:28 +08:00

minor fix, with TODO updated

This commit is contained in:
2025-05-02 18:48:02 +08:00
parent 40e3206953
commit 780ad3d3ec
3 changed files with 15 additions and 7 deletions

View File

@@ -1 +1,6 @@
#### TODO
* Starmap filter: top windows overlap fix
* Set battlefield analysis base power charging
* Auto-navigation: avoid darkfogs
* Auto-navigation: do not use warper if the tech is not researched
* Recreate planet: crash fix

View File

@@ -18,9 +18,9 @@ public class MyCheckBox : MonoBehaviour
private static GameObject _baseObject;
private static readonly Color BoxColor = new Color(1f, 1f, 1f, 100f / 255f);
private static readonly Color CheckColor = new Color(1f, 1f, 1f, 1f);
private static readonly Color TextColor = new Color(178f / 255f, 178f / 255f, 178f / 255f, 168f / 255f);
private static readonly Color BoxColor = new(1f, 1f, 1f, 100f / 255f);
private static readonly Color CheckColor = new(1f, 1f, 1f, 1f);
private static readonly Color TextColor = new(178f / 255f, 178f / 255f, 178f / 255f, 168f / 255f);
public static void InitBaseObject()
{

View File

@@ -235,20 +235,23 @@ public class UXAssist : BaseUnityPlugin, IModCanSave
GameLogic.Enable(false);
}
private void FixedUpdate()
private void Update()
{
if (VFInput.inputing) return;
if (DSPGame.IsMenuDemo)
{
if (VFInput.inputing) return;
UIFunctions.OnInputUpdate();
return;
}
LogisticsPatch.OnUpdate();
if (VFInput.inputing) return;
LogisticsPatch.OnInputUpdate();
UIFunctions.OnInputUpdate();
GamePatch.OnInputUpdate();
FactoryPatch.OnInputUpdate();
PlayerPatch.OnInputUpdate();
}
private void FixedUpdate()
{
LogisticsPatch.OnUpdate();
}
}