Skip to content

Commit

Permalink
Adjust screen clearing and mod dir message
Browse files Browse the repository at this point in the history
- Disabled screen clearing in `hook_thread` of `main.cpp`
- Updated output message in `LoadMods` of `mod_loader.cpp`
  • Loading branch information
XeTrinityz committed Jul 8, 2024
1 parent e9ab723 commit 2ba99f0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ DWORD WINAPI hook_thread(PVOID lParam){
oWndProc = reinterpret_cast<WNDPROC>(SetWindowLongPtr(window, GWLP_WNDPROC, reinterpret_cast<LONG_PTR>(WndProc)));
InitConsole();
Sleep(3000);
clear_screen();
//clear_screen();
return EXIT_SUCCESS;
}

Expand Down
2 changes: 1 addition & 1 deletion src/mod_loader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ void ModLoader::LoadMods() {

DWORD ftyp = GetFileAttributesA(directory.c_str());
if(ftyp == INVALID_FILE_ATTRIBUTES){
printf("Creating mods directory\n");
printf("Creating mods directory...\n");
CreateDirectoryA((LPCSTR)directory.c_str(), NULL);
}
for (const auto& entry : std::filesystem::directory_iterator(directory)) {
Expand Down

0 comments on commit 2ba99f0

Please sign in to comment.