This commit is contained in:
Fabian
2021-04-08 19:44:08 +02:00
parent 9ef406e673
commit 152a49231d

View File

@@ -69,6 +69,12 @@ namespace ReallifeGamemode.Server.Events
for (int a = 0; a < Report.Report.listReports.Count; a++) for (int a = 0; a < Report.Report.listReports.Count; a++)
{ {
temp = Report.Report.listReports[a]; temp = Report.Report.listReports[a];
if (!temp.isAssigned())
{
continue;
}
if (temp.getAdmin().Equals(player.Name)) if (temp.getAdmin().Equals(player.Name))
{ {
Report.Report.listReports.Remove(temp); Report.Report.listReports.Remove(temp);