game closing and code cleanup

This commit is contained in:
tucucu
2023-11-05 21:25:51 +01:00
parent d706955846
commit be7f0c2856
3 changed files with 10 additions and 5 deletions
+1 -2
View File
@@ -177,8 +177,7 @@ int main() {
DestroyWindow(hWnd);
std::cout << "[cs2] Deataching from process" << std::endl;
g_game.process->Close();
g_game.close();
#ifdef NDEBUG
std::cout << "[cs2] Press any key to close" << std::endl;