This commit is contained in:
2021-04-08 02:42:55 +02:00
parent d3f347a228
commit 4b17aab84d

View File

@@ -260,8 +260,7 @@ namespace ReallifeGamemode.Server.Gangwar
}
foreach (var a in attackers)
{
if (o != null)
if (a != null)
a.TriggerEvent("CLIENT:loose");
}
ChatService.BroadcastFaction("~y~[GANGWAR] ~w~Deine Fraktion hat erfolgreich das Gebiet ~g~" + getName() + "~w~ verteidigt.", dbContext.Factions.Where(f => f.Name == getOwner()).FirstOrDefault());