diff options
Diffstat (limited to 'src/game.cpp')
-rw-r--r-- | src/game.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game.cpp b/src/game.cpp index af0476a0b..33795abc5 100644 --- a/src/game.cpp +++ b/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")) { |