uhum aha nem tudom mi ez a szar

This commit is contained in:
2025-12-13 14:33:59 +01:00
parent e6208996f7
commit 3d5ef1686a
5 changed files with 18 additions and 9 deletions

View File

@@ -54,10 +54,12 @@ namespace KCM.ServerLobby.LobbyChat
if (banner == null)
return;
if (!Main.clientSteamIds.TryGetValue(Client, out var steamId))
string steamId;
if (!Main.clientSteamIds.TryGetValue(Client, out steamId))
return;
if (!Main.kCPlayers.TryGetValue(steamId, out var player) || player == null)
KCPlayer player;
if (!Main.kCPlayers.TryGetValue(steamId, out player) || player == null)
return;
if (World.inst == null || World.inst.liverySets == null)