1
0
mirror of https://github.com/soarqin/DSP_Mods.git synced 2025-12-09 04:53:30 +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

@@ -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();
}
}