Skip to content
This repository was archived by the owner on Mar 30, 2026. It is now read-only.

Commit 511fb4b

Browse files
committed
Conform to modding policy (show icon)
1 parent a097e0e commit 511fb4b

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

AUMInjector/user/main.cpp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -419,6 +419,12 @@ void InnerNetClient_HandleGameData_Hook(InnerNetClient* __this, MessageReader* r
419419
InnerNetClient_HandleGameData_Trampoline(__this, reader, method);
420420
}
421421

422+
// Show mod stamp to conform to policy
423+
void ModManager_LateUpdate_Hook(ModManager* __this, MethodInfo* method)
424+
{
425+
ModManager_LateUpdate(__this, method);
426+
ModManager_ShowModStamp(__this, NULL);
427+
}
422428

423429
// Entrypoint of the injected thread
424430
void Run()
@@ -501,6 +507,7 @@ void Run()
501507
DetourAttach(&(PVOID&)HudOverrideTask_Complete_Trampoline, HudOverrideTask_Complete_Hook);
502508
DetourAttach(&(PVOID&)AmongUsClient_OnPlayerJoined_Trampoline, AmongUsClient_OnPlayerJoined_Hook);
503509
DetourAttach(&(PVOID&)InnerNetClient_HandleGameData_Trampoline, InnerNetClient_HandleGameData_Hook);
510+
DetourAttach(&(PVOID&)ModManager_LateUpdate, ModManager_LateUpdate_Hook);
504511

505512
//dynamic_analysis_attach();
506513
LONG errDetour = DetourTransactionCommit();

0 commit comments

Comments
 (0)