From ce25b7ea990639352835a1cb52a587348c3ea129 Mon Sep 17 00:00:00 2001 From: Lukas Moungos Date: Fri, 1 Nov 2019 22:00:16 +0100 Subject: [PATCH] hotfix --- ReallifeGamemode.Client/Interaction/drivingschool.ts | 1 - ReallifeGamemode.Server/DrivingSchool/DrivingSchool.cs | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/ReallifeGamemode.Client/Interaction/drivingschool.ts b/ReallifeGamemode.Client/Interaction/drivingschool.ts index 05e2610c..e0ca8f15 100644 --- a/ReallifeGamemode.Client/Interaction/drivingschool.ts +++ b/ReallifeGamemode.Client/Interaction/drivingschool.ts @@ -22,7 +22,6 @@ export default function drivingSchoolList(globalData: GlobalData) { var drivingMenu: NativeUI.Menu; - var stages; var stage = ""; diff --git a/ReallifeGamemode.Server/DrivingSchool/DrivingSchool.cs b/ReallifeGamemode.Server/DrivingSchool/DrivingSchool.cs index 4e22a58f..49904b1b 100644 --- a/ReallifeGamemode.Server/DrivingSchool/DrivingSchool.cs +++ b/ReallifeGamemode.Server/DrivingSchool/DrivingSchool.cs @@ -212,7 +212,7 @@ namespace ReallifeGamemode.Server.DrivingSchool public void StartBikeSchool(Client client) { User user = client.GetUser(); - if (user.DriverLicenseVehicle || client.HasData("ActiveSchool")) + if (user.DriverLicenseBike || client.HasData("ActiveSchool")) return; if (user.Handmoney < 3500)