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)