Skip to content
Permalink
Browse files

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

… again

Fix for previous commit.
  • Loading branch information...
lhofhansl authored and est31 committed Nov 4, 2016
1 parent f8fd432 commit dde66a82ed06c4887ce0e63ef5f0b8d3bce2ed74
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/game.cpp
@@ -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")) {

0 comments on commit dde66a8

Please sign in to comment.
You can’t perform that action at this time.