diff --git a/ReallifeGamemode.Server/Events/Login.cs b/ReallifeGamemode.Server/Events/Login.cs index e06141fa..90e3c568 100644 --- a/ReallifeGamemode.Server/Events/Login.cs +++ b/ReallifeGamemode.Server/Events/Login.cs @@ -101,7 +101,7 @@ namespace ReallifeGamemode.Server.Events if (user.Wanteds > 0) { - ChatService.HQMessage("Der Straftäter " + user.Name + " hat sich mit " + user.Wanteds + " Wanteds eingeloggt."); + ChatService.HQMessage($"Der Straftäter {user.Name} hat sich mit {user.Wanteds} Wanteds eingeloggt."); } /* @@ -129,8 +129,7 @@ namespace ReallifeGamemode.Server.Events if (user.Group != null) { - string msg = $"{player.Name} ist wieder online."; - ChatService.BroadcastGroup(msg, user.Group); + ChatService.BroadcastGroup($"{player.Name} ist wieder online", user.Group); } HanfManager.UpdateHanfForPlayer(player);