From 3a61953d5cb8e21194d3d8f1cf18df2d77cb66f1 Mon Sep 17 00:00:00 2001 From: ChrisMiuchiz Date: Tue, 15 Oct 2019 17:49:30 -0400 Subject: [PATCH] use correct return type --- CubeModLoader/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CubeModLoader/main.cpp b/CubeModLoader/main.cpp index 509370a..476c7b6 100644 --- a/CubeModLoader/main.cpp +++ b/CubeModLoader/main.cpp @@ -207,7 +207,7 @@ extern "C" __declspec(dllexport) BOOL APIENTRY DllMain(HINSTANCE hinstDLL, DWORD // Don't allow this to run more than once if (already_ran) - return 1; + return true; already_ran = true;