schulung von drant
This commit is contained in:
@@ -54,13 +54,15 @@ namespace ReallifeGamemode.Server.Events
|
||||
}
|
||||
|
||||
TaxiDriverJob taxiJob = JobManager.GetJob<TaxiDriverJob>();
|
||||
TaxiContract taxiContract = taxiJob.TaxiContracts.Where(t => t.Name == player.Name).First();
|
||||
TaxiContract taxiContract = taxiJob.TaxiContracts.Where(t => t.Name == player.Name).FirstOrDefault();
|
||||
|
||||
if (taxiJob.TaxiContracts.Contains(taxiContract))
|
||||
if (taxiContract != null)
|
||||
{
|
||||
taxiJob.TaxiContracts.Remove(taxiContract);
|
||||
if (taxiJob.TaxiContracts.Contains(taxiContract))
|
||||
{
|
||||
taxiJob.TaxiContracts.Remove(taxiContract);
|
||||
}
|
||||
}
|
||||
|
||||
var listReports = Report.Report.listReports;
|
||||
ReportManage temp;
|
||||
for (int a = 0; a < listReports.Count; a++)
|
||||
|
||||
Reference in New Issue
Block a user