fix(PlayerWindow): Incorrect method for ID setting
This commit is contained in:
parent
aa71daec24
commit
d51391172b
@ -6,7 +6,7 @@ namespace big
|
|||||||
{
|
{
|
||||||
void window::w_player()
|
void window::w_player()
|
||||||
{
|
{
|
||||||
std::string title = fmt::format("Player Options: {}##player_options", g_player_service->get_selected()->get_name());
|
std::string title = fmt::format("Player Options: {}###player_options", g_player_service->get_selected()->get_name());
|
||||||
|
|
||||||
ImGui::SetNextWindowSize({ 350.f, 300.f }, ImGuiCond_FirstUseEver);
|
ImGui::SetNextWindowSize({ 350.f, 300.f }, ImGuiCond_FirstUseEver);
|
||||||
if (g.window.player && g_player_service->get_selected()->is_valid() && ImGui::Begin(title.c_str(), &g.window.player))
|
if (g.window.player && g_player_service->get_selected()->is_valid() && ImGui::Begin(title.c_str(), &g.window.player))
|
||||||
|
Reference in New Issue
Block a user