mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2025-06-18 15:17:23 +08:00
fix(PlayerWindow): Incorrect method for ID setting
This commit is contained in:
parent
8b385165fd
commit
dcbdb616cd
@ -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))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user