fixes in more more advanced features in report system

This commit is contained in:
2019-09-03 18:34:40 +02:00
parent 90dc1db3ba
commit a9bc3a8dea

View File

@@ -41,8 +41,8 @@ namespace ReallifeGamemode.Server.Report
return; return;
} }
User user = client.GetUser(); User user = client.GetUser();
List<String> listPlayers = new List<string>(); List<string> listPlayers = new List<string>();
List<String> listTicketnames = new List<string>(); List<string> listTicketnames = new List<string>();
for (int a=0; a< listReports.Count; a++) for (int a=0; a< listReports.Count; a++)
{ {
@@ -163,7 +163,7 @@ namespace ReallifeGamemode.Server.Report
} }
[RemoteEvent("requestReport")] [RemoteEvent("requestReport")]
public void RequestReport(Client user, string type, string data) public void RequestReport(Client user, string data, string type)
{ {
if (type == "Ticket Report") if (type == "Ticket Report")
{ {