fix UIScene_HUD, UIScene_InGameInfoMenu

This commit is contained in:
Tropical 2026-03-22 12:52:44 -05:00
parent 3b77d6d806
commit be76c9cdb3
2 changed files with 2 additions and 5 deletions

View file

@ -1,6 +1,7 @@
#include "../../Minecraft.World/Platform/stdafx.h"
#include "UI.h"
#include "UIScene_HUD.h"
#include "../../Minecraft.Client/UI/BossMobGuiInfo.h"
#include "../../Minecraft.Client/Minecraft.h"
#include "../../Minecraft.Client/Player/MultiPlayerLocalPlayer.h"
#include "../../Minecraft.World/Headers/net.minecraft.world.entity.boss.enderdragon.h"

View file

@ -171,12 +171,8 @@ void UIScene_InGameInfoMenu::handleReload() {
INetworkPlayer* player = g_NetworkManager.GetPlayerByIndex(i);
if (player != NULL) {
m_players[i] = player->GetSmallId();
++m_playersCount;
PlayerInfo* info = BuildPlayerInfo(player);
std::wstring playerName = L"";
if (app.DebugSettingsOn() &&
(1L << eDebugSetting_DebugLeaderboards))) {
m_players.push_back(info);
m_playerList.addItem(info->m_name, info->m_colorState,
info->m_voiceStatus);