Change UnregisterGameHook type for freestanding handler to OnVanillaBehavior to match registration type. (#4883)

This commit is contained in:
Malkierian 2025-01-14 21:49:49 -07:00 committed by GitHub
parent 2fc3a563c9
commit 0d80c4695f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2392,7 +2392,7 @@ void RandomizerRegisterHooks() {
GameInteractor::Instance->UnregisterGameHook<GameInteractor::OnActorInit>(shufflePotsOnActorInitHook);
GameInteractor::Instance->UnregisterGameHook<GameInteractor::OnVanillaBehavior>(shufflePotsOnVanillaBehaviorHook);
GameInteractor::Instance->UnregisterGameHook<GameInteractor::OnActorInit>(shuffleFreestandingOnVanillaBehaviorHook);
GameInteractor::Instance->UnregisterGameHook<GameInteractor::OnVanillaBehavior>(shuffleFreestandingOnVanillaBehaviorHook);
onFlagSetHook = 0;
onSceneFlagSetHook = 0;