Skip to content

Commit dde66a8

Browse files
lhofhanslest31
authored andcommittedNov 4, 2016
Cycle directly to nothing shown instead of showing the profiler graph again
Fix for previous commit.
1 parent f8fd432 commit dde66a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/game.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -3131,7 +3131,7 @@ void Game::toggleDebug(float *statustext_time, bool *show_debug,
31313131
*show_profiler_graph = false;
31323132
*show_wireframe = false;
31333133
statustext = L"Debug info shown";
3134-
} else if (!*show_profiler_graph) {
3134+
} else if (!*show_profiler_graph && !*show_wireframe) {
31353135
*show_profiler_graph = true;
31363136
statustext = L"Profiler graph shown";
31373137
} else if (!*show_wireframe && client->checkPrivilege("debug")) {

0 commit comments

Comments
 (0)
Please sign in to comment.