1
0
mirror of https://github.com/soarqin/DSP_Mods.git synced 2026-03-23 03:53:30 +08:00

UXAssist: fix auto cruise

This commit is contained in:
2026-02-05 16:08:38 +08:00
parent 2456280151
commit d9d1e0108f

View File

@@ -363,6 +363,7 @@ public class PlayerPatch : PatchImpl<PlayerPatch>
/* Update target astro if changed */
_speedUp = false;
var player = controller.player;
if (player.mecha.thrusterLevel < 2) return;
var navi = player.navigation;
if (navi.indicatorAstroId != _indicatorAstroId)
{
@@ -552,10 +553,7 @@ public class PlayerPatch : PatchImpl<PlayerPatch>
[HarmonyPatch(typeof(UISailPanel), nameof(UISailPanel._OnOpen))]
public static void OnOpen_Prefix()
{
if (_aimingEnabled)
{
UIRoot.instance.uiGame.disableLockCursor = true;
}
UIRoot.instance.uiGame.disableLockCursor = true;
}
*/
}