minor fix, with TODO updated

This commit is contained in:
soarqin committed 2025-05-02 18:48:02 +08:00
1 parent 40e3206953
commit 780ad3d3ec
3 files changed
+15 -7

No files matched your search

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