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

@@ -37,16 +37,21 @@ public static class CruiseAssistDebugUI
{
Rect.y = 0f;
}
if (_lastCheckWindowLeft != float.MinValue)
{
var flag6 = Rect.x != _lastCheckWindowLeft || Rect.y != _lastCheckWindowTop;
if (flag6)
if (Rect.x != _lastCheckWindowLeft || Rect.y != _lastCheckWindowTop)
{
_lastCheckWindowLeft = Rect.x;
_lastCheckWindowTop = Rect.y;
CruiseAssistMainUI.NextCheckGameTick = GameMain.gameTick + 300L;
}
}
_lastCheckWindowLeft = Rect.x;
_lastCheckWindowTop = Rect.y;
else
{
_lastCheckWindowLeft = Rect.x;
_lastCheckWindowTop = Rect.y;
}
}
private static void WindowFunction(int windowId)