Skip to content

Commit 327c9c5

Browse files
committed
WIP
1 parent d5d70dc commit 327c9c5

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

include

src/ModLoader.cpp

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

20-
// TODO: Remove this hacky sleep, but it's needed, maybe check if the memory is ready next time?
21-
std::this_thread::sleep_for(std::chrono::milliseconds(200));
2220
Patcher patcher;
23-
2421
logger->verbose("Dll module is loaded");
2522
uintptr_t baseAddress = (uintptr_t) GetModuleHandle(nullptr);
2623
patcher.add(new EventHook(EventType::ClickEvent, 0x657DC32));

0 commit comments

Comments
 (0)