Skip to content

Commit

Permalink
Cycle directly to nothing shown instead of showing the profiler graph…
Browse files Browse the repository at this point in the history
… again

Fix for previous commit.
  • Loading branch information
lhofhansl authored and est31 committed Nov 4, 2016
1 parent f8fd432 commit dde66a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game.cpp
Expand Up @@ -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")) {
Expand Down

0 comments on commit dde66a8

Please sign in to comment.