Skip to content

Commit

Permalink
fix: Fix point of game tick
Browse files Browse the repository at this point in the history
  • Loading branch information
Yushu2606 authored Aug 14, 2023
1 parent 0d88ca9 commit 25c2b7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/LevelTick.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ internal static void InitHook()
{
if (
NativeInterop.Hook.NativeFunc.Hook(
SymbolHelper.DlsymPointer("_ZN5Level4tickEv"),
SymbolHelper.DlsymPointer("_ZN11GameSession4tickEv"),
(delegate* unmanaged<void*, void>)&LevelTickHook,
out var original,
out _
Expand Down

0 comments on commit 25c2b7d

Please sign in to comment.