Cycle directly to nothing shown instead of showing the profiler graph again

Fix for previous commit.
master
lhofhansl 2016-11-04 05:06:32 +01:00 committed by est31
parent f8fd432dca
commit dde66a82ed
1 changed files with 1 additions and 1 deletions

View File

@ -3131,7 +3131,7 @@ void Game::toggleDebug(float *statustext_time, bool *show_debug,
*show_profiler_graph = false;
*show_wireframe = false;
statustext = L"Debug info shown";
} else if (!*show_profiler_graph) {
} else if (!*show_profiler_graph && !*show_wireframe) {
*show_profiler_graph = true;
statustext = L"Profiler graph shown";
} else if (!*show_wireframe && client->checkPrivilege("debug")) {