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:
@@ -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;
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user