From 4b17aab84d6ab8fe613ceb4156c6c1a8554108dc Mon Sep 17 00:00:00 2001 From: kookroach Date: Thu, 8 Apr 2021 02:42:55 +0200 Subject: [PATCH] test --- ReallifeGamemode.Server/Gangwar/Turf.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ReallifeGamemode.Server/Gangwar/Turf.cs b/ReallifeGamemode.Server/Gangwar/Turf.cs index 4a65fc99..8ab9c64f 100644 --- a/ReallifeGamemode.Server/Gangwar/Turf.cs +++ b/ReallifeGamemode.Server/Gangwar/Turf.cs @@ -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());