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++)
|
||||
|
||||
@@ -85,8 +85,6 @@ namespace ReallifeGamemode.Server.Factions.Medic
|
||||
[RemoteEvent("updateMedicTask")]
|
||||
public void UpdateMedicTasks(Player player, int type, int index, string medicName)
|
||||
{
|
||||
|
||||
|
||||
switch (type)
|
||||
{
|
||||
case 0:
|
||||
|
||||
Reference in New Issue
Block a user