From 35c00c002c1de9f6234db9c39d8124506a5fcd6c Mon Sep 17 00:00:00 2001 From: Lukas Moungos Date: Sun, 1 Dec 2019 18:57:05 +0100 Subject: [PATCH] 2 --- ReallifeGamemode.Server/Gangwar/Turf.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ReallifeGamemode.Server/Gangwar/Turf.cs b/ReallifeGamemode.Server/Gangwar/Turf.cs index 49a9508a..c4692673 100644 --- a/ReallifeGamemode.Server/Gangwar/Turf.cs +++ b/ReallifeGamemode.Server/Gangwar/Turf.cs @@ -206,9 +206,9 @@ namespace ReallifeGamemode.Server.Gangwar Client[] usersInGangwar = NAPI.Pools.GetAllPlayers().Where(c => c.GetUser().Faction.Name == getOwner() || c.GetUser().Faction.Name == getAttacker()).ToArray(); foreach (var u in usersInGangwar) { - Console.WriteLine(JsonConvert.SerializeObject(usersInGangwar)); - Console.WriteLine(JsonConvert.SerializeObject(usersInGangwar.Length)); - Console.WriteLine(JsonConvert.SerializeObject(u.Name)); + u.SendChatMessage(JsonConvert.SerializeObject(usersInGangwar)); + u.SendChatMessage(JsonConvert.SerializeObject(usersInGangwar.Length)); + u.SendChatMessage(JsonConvert.SerializeObject(u.Name)); u.TriggerEvent("GangwarScore", this.Attacker, this.Owner, this.Att_Score, this.Def_Score); u.SetData("inGangWar", getId()); clientsInGangwar.Add(u);