Skip to content

Commit 7242e37

Browse files
committed
Update includes
1 parent 327c9c5 commit 7242e37

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

include

Submodule include updated 137 files

src/ModLoader.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,13 @@ void WINAPI ModLoader::init(MODULEINFO* moduleInfo)
1717
logger = new Logger("ModLoader");
1818
logger->info("Mod loader has been started");
1919

20+
std::this_thread::sleep_for(std::chrono::milliseconds(200));
21+
2022
Patcher patcher;
2123
logger->verbose("Dll module is loaded");
2224
uintptr_t baseAddress = (uintptr_t) GetModuleHandle(nullptr);
23-
patcher.add(new EventHook(EventType::ClickEvent, 0x657DC32));
24-
patcher.applyPatches(baseAddress);
25+
// patcher.add(new EventHook(EventType::ClickEvent, 0x657DC32));
26+
// patcher.applyPatches(baseAddress);
2527
gameData = new GameData(baseAddress, moduleInfo->SizeOfImage);
2628
gameData->init();
2729

0 commit comments

Comments
 (0)