Skip to content

Commit

Permalink
Injector aka new sringe fix by Otamaa
Browse files Browse the repository at this point in the history
- move the `Patch::ApplyStatic` so it wont crash the newer syringe
  • Loading branch information
Multfinite committed Mar 26, 2024
1 parent 4a2c374 commit 97184cc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Phobos.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,8 @@ DEFINE_HOOK(0x66E9DF, RulesClass_Process_Phobos, 0x8)
{
GET(CCINIClass*, rulesINI, EDI);

Patch::ApplyStatic();

#ifndef DEBUG
Phobos::Config::DevelopmentCommands = rulesINI->ReadBool("GlobalControls", "DebugKeysEnabled", Phobos::Config::DevelopmentCommands);
#endif
Expand Down

0 comments on commit 97184cc

Please sign in to comment.