Skip to content

Commit

Permalink
show game options information only in game tab if it's a debug build
Browse files Browse the repository at this point in the history
  • Loading branch information
v0idp committed May 1, 2022
1 parent 46b2dc0 commit ce0fdc5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gui/tabs/game_tab.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ namespace GameTab {
{
State.rpcQueue.push(new RpcUsePlatform());
}

#ifdef _DEBUG
if ((IsInGame() || IsInLobby()) && Game::pGameOptionsData != NULL)
{
ImGui::Dummy(ImVec2(7, 7) * State.dpiScale);
Expand Down Expand Up @@ -127,7 +127,7 @@ namespace GameTab {
ImGui::Dummy(ImVec2(3, 3) * State.dpiScale);
}
}

#endif
ImGui::EndTabItem();
}
}
Expand Down

0 comments on commit ce0fdc5

Please sign in to comment.