This commit is contained in:
2025-12-13 14:52:00 +01:00
parent fd0ebe9014
commit 91a1ab4261
3 changed files with 6 additions and 3 deletions

View File

@@ -65,7 +65,7 @@ namespace KCM.ServerLobby.LobbyChat
if (World.inst == null || World.inst.liverySets == null)
return;
if (player.banner < 0 || player.banner >= World.inst.liverySets.Length)
if (player.banner < 0 || player.banner >= World.inst.liverySets.Count)
return;
banner.texture = World.inst.liverySets[player.banner].banners;