diff --git a/ReallifeGamemode.Server/Events/Key.cs b/ReallifeGamemode.Server/Events/Key.cs index cc38b584..474d6d44 100644 --- a/ReallifeGamemode.Server/Events/Key.cs +++ b/ReallifeGamemode.Server/Events/Key.cs @@ -619,7 +619,7 @@ namespace ReallifeGamemode.Server.Events Id = p.Handle.Value, p.Name, p.Ping, - FactionName = p.GetUser().Faction?.Name ?? "Zivilist", + FactionName = p.GetUser()?.Faction?.Name ?? "Zivilist", }); player.TriggerEvent("showPlayerlist", JsonConvert.SerializeObject(listPlayers)); }