diff --git a/daemon/gamemode-tests.c b/daemon/gamemode-tests.c index 3182b2b..68cbd26 100644 --- a/daemon/gamemode-tests.c +++ b/daemon/gamemode-tests.c @@ -47,7 +47,7 @@ static int verify_gamemode_initial(void) { int status = 0; - if ((status = gamemode_query_status()) != 0) { + if ((status = gamemode_query_status()) != 0 && status != -1) { fprintf( stderr, "ERROR: gamemode is currently active, tests require gamemode to start deactivated!\n"); @@ -266,4 +266,4 @@ int game_mode_run_client_tests() return -1; return status; -} \ No newline at end of file +}