1
0
mirror of https://github.com/soarqin/DSP_Mods_TO.git synced 2025-12-18 12:33:28 +08:00
This commit is contained in:
2024-03-18 01:34:19 +08:00
parent f3aeb7289c
commit 195260a3c9
4 changed files with 72 additions and 58 deletions

View File

@@ -717,11 +717,17 @@ public static class CruiseAssistMainUI
{
if (Rect[WIdx].x != LastCheckWindowLeft[WIdx] || Rect[WIdx].y != LastCheckWindowTop[WIdx])
{
LastCheckWindowLeft[WIdx] = Rect[WIdx].x;
LastCheckWindowTop[WIdx] = Rect[WIdx].y;
NextCheckGameTick = GameMain.gameTick + 300L;
}
}
LastCheckWindowLeft[WIdx] = Rect[WIdx].x;
LastCheckWindowTop[WIdx] = Rect[WIdx].y;
else
{
LastCheckWindowLeft[WIdx] = Rect[WIdx].x;
LastCheckWindowTop[WIdx] = Rect[WIdx].y;
}
if (NextCheckGameTick <= GameMain.gameTick)
{
ConfigManager.CheckConfig(ConfigManager.Step.State);