From 152a49231d04abc00c089f95ef958b500d1177d4 Mon Sep 17 00:00:00 2001 From: Fabian Date: Thu, 8 Apr 2021 19:44:08 +0200 Subject: [PATCH] tst --- ReallifeGamemode.Server/Events/Disconnect.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ReallifeGamemode.Server/Events/Disconnect.cs b/ReallifeGamemode.Server/Events/Disconnect.cs index 79acc3c6..218fb269 100644 --- a/ReallifeGamemode.Server/Events/Disconnect.cs +++ b/ReallifeGamemode.Server/Events/Disconnect.cs @@ -69,6 +69,12 @@ namespace ReallifeGamemode.Server.Events for (int a = 0; a < Report.Report.listReports.Count; a++) { temp = Report.Report.listReports[a]; + + if (!temp.isAssigned()) + { + continue; + } + if (temp.getAdmin().Equals(player.Name)) { Report.Report.listReports.Remove(temp);