From 2c3a1e2c9054535cf9db493f9857e443afbad0dd Mon Sep 17 00:00:00 2001 From: Mac_Slash Date: Thu, 30 Apr 2020 16:12:03 +0200 Subject: [PATCH] =?UTF-8?q?=C3=84nderung=20PilotenSkill=20E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ReallifeGamemode.Server/Events/Key.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ReallifeGamemode.Server/Events/Key.cs b/ReallifeGamemode.Server/Events/Key.cs index 003e98b1..040bb469 100644 --- a/ReallifeGamemode.Server/Events/Key.cs +++ b/ReallifeGamemode.Server/Events/Key.cs @@ -393,7 +393,7 @@ namespace ReallifeGamemode.Server.Events } if (nearestJobPoint.jobId == 3 && player.GetUser().JobId == 3) { - if (nearestJobPoint.Skill < 300 && player.GetUser().PilotSkill < 300) + if (nearestJobPoint.Skill == 0 && player.GetUser().PilotSkill < 300) { if (job.GetUsersInJob().Contains(player)) { @@ -408,7 +408,7 @@ namespace ReallifeGamemode.Server.Events return; } } - if (nearestJobPoint.Skill >= 300 && player.GetUser().PilotSkill >= 300) + if (nearestJobPoint.Skill == 300 && player.GetUser().PilotSkill >= 300) { if (job.GetUsersInJob().Contains(player)) {