From 31899aa948f7607ccc6f41a5e1cc3a7a052a4cc6 Mon Sep 17 00:00:00 2001 From: Lukas Moungos Date: Sun, 1 Dec 2019 17:17:48 +0100 Subject: [PATCH] try fix --- ReallifeGamemode.Server/Gangwar/Turf.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ReallifeGamemode.Server/Gangwar/Turf.cs b/ReallifeGamemode.Server/Gangwar/Turf.cs index f6c259ae..3e790f1b 100644 --- a/ReallifeGamemode.Server/Gangwar/Turf.cs +++ b/ReallifeGamemode.Server/Gangwar/Turf.cs @@ -88,8 +88,8 @@ namespace ReallifeGamemode.Server.Gangwar { try { - Client[] owners = this.playerInGangwar.Where(c => c.GetUser().Faction.Name == this.Owner).ToArray(); - Client[] attackers = this.playerInGangwar.Where(c => c.GetUser().Faction.Name == this.Attacker).ToArray(); + Client[] owners = NAPI.Pools.GetAllPlayers().Where(c => c.GetUser().Faction.Name == this.Owner).ToArray(); + Client[] attackers = NAPI.Pools.GetAllPlayers().Where(c => c.GetUser().Faction.Name == this.Attacker).ToArray(); }catch(NullReferenceException ex) { int i = 0;