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:
@@ -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
|
||||
|
||||
@@ -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()
|
||||
{
|
||||
|
||||
@@ -235,20 +235,23 @@ public class UXAssist : BaseUnityPlugin, IModCanSave
|
||||
GameLogic.Enable(false);
|
||||
}
|
||||
|
||||
private void FixedUpdate()
|
||||
{
|
||||
if (DSPGame.IsMenuDemo)
|
||||
private void Update()
|
||||
{
|
||||
if (VFInput.inputing) return;
|
||||
if (DSPGame.IsMenuDemo)
|
||||
{
|
||||
UIFunctions.OnInputUpdate();
|
||||
return;
|
||||
}
|
||||
LogisticsPatch.OnUpdate();
|
||||
if (VFInput.inputing) return;
|
||||
LogisticsPatch.OnInputUpdate();
|
||||
UIFunctions.OnInputUpdate();
|
||||
GamePatch.OnInputUpdate();
|
||||
FactoryPatch.OnInputUpdate();
|
||||
PlayerPatch.OnInputUpdate();
|
||||
}
|
||||
|
||||
private void FixedUpdate()
|
||||
{
|
||||
LogisticsPatch.OnUpdate();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user