Skip to content

Commit dbd22a0

Browse files
authored
[F] Maimoller DisplayTouchInGame not work (#55)
1 parent 53574fb commit dbd22a0

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

AquaMai.Mods/Utils/DisplayTouchInGame.cs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,4 +201,13 @@ private void OnGUI()
201201
}
202202
}
203203
}
204+
205+
[HarmonyPostfix]
206+
[HarmonyPatch(typeof(MouseTouchPanel), "Start")]
207+
public static void Workaround() { }
208+
/*
209+
* 和 https://github.com/MewoLab/AquaMai/blob/983f887be48d6c5c85a81460fa3c45d2d35c3852/AquaMai.Mods/GameSystem/TestProof.cs#L78-L87 的情况是一样的...
210+
* 在Maimoller的Mod Patch之后,MouseTouchPanel.Start就不会被调用了,但是放一个钩子在它身上,就一切正常了...
211+
* 我没有能力研究的特别透彻,就先和上面采取一样的做法了...留给后来者研究吧
212+
*/
204213
}

0 commit comments

Comments
 (0)