diff --git a/UI/DebugOverlay.cpp b/UI/DebugOverlay.cpp index 4ccdb89998..eb3088325c 100644 --- a/UI/DebugOverlay.cpp +++ b/UI/DebugOverlay.cpp @@ -169,11 +169,11 @@ void DrawDebugOverlay(UIContext *ctx, const Bounds &bounds, DebugOverlay overlay switch (overlay) { case DebugOverlay::DEBUG_STATS: - if (!inGame) + if (inGame) DrawDebugStats(ctx, ctx->GetLayoutBounds()); break; case DebugOverlay::FRAME_GRAPH: - if (!inGame) + if (inGame) DrawFrameTimes(ctx, ctx->GetLayoutBounds()); break; case DebugOverlay::FRAME_TIMING: