hq-meldung bei logout angepasst

This commit is contained in:
Luke
2021-06-01 05:21:25 +02:00
parent 0ba52a0b8f
commit bccd7a7df0

View File

@@ -226,7 +226,6 @@ namespace ReallifeGamemode.Server.Events
}
}
if (user.Wanteds > 0)
if (user.Group != null)
{
@@ -248,8 +247,10 @@ namespace ReallifeGamemode.Server.Events
ChatService.BroadcastFaction(msg, user.Faction);
}
if (user.Wanteds > 0)
{
ChatService.HQMessage("Der Straftäter " + user.Name + " ist vom Radar verschwunden");
ChatService.HQMessage($"Der Straftäter {user.Name} ist vom Radar verschwunden.");
}
player.SetData("isLoggedIn", false);