Skip to content

Commit 747024f

Browse files
committed
Update SafeMode.cpp
1 parent 03fcc98 commit 747024f

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/Hacks/SafeMode.cpp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ class HackModuleDelegate : public ModuleChangeDelegate
4949
}
5050
};
5151

52+
#ifndef GEODE_IS_MACOS
53+
5254
std::vector<std::string> hacks = {
5355
"speedhack-enabled",
5456
"force-plat",
@@ -65,14 +67,19 @@ std::vector<std::string> hacks = {
6567
"tps-bypass"
6668
};
6769

70+
#endif
71+
6872
void Client::onPostSetup()
6973
{
74+
#ifndef GEODE_IS_MACOS
75+
7076
log::info("post setup");
7177

7278
for (auto mod : hacks)
7379
{
7480
Client::GetModule(mod)->delegate = new HackModuleDelegate();
7581
}
82+
#endif
7683
}
7784

7885
void updateSafemode()

0 commit comments

Comments
 (0)