diff --git a/ReallifeGamemode.Client/Interaction/drivingschool.ts b/ReallifeGamemode.Client/Interaction/drivingschool.ts index e0ca8f15..72cbf9c8 100644 --- a/ReallifeGamemode.Client/Interaction/drivingschool.ts +++ b/ReallifeGamemode.Client/Interaction/drivingschool.ts @@ -51,12 +51,16 @@ export default function drivingSchoolList(globalData: GlobalData) { }); drivingMenu.ItemSelect.on((item) => { - if (item.Text === "Auto") { - mp.events.callRemote("startDrivingSchool"); + if (item.Text === "Bestätigen") { + if (stage == "Auto") { + mp.events.callRemote("startDrivingSchool"); + } else if (stage == "Motorrad") { + mp.events.callRemote("startBikeSchool"); + } + drivingMenu.Close(); globalData.InMenu = false; - } else if (item.Text === "Motorrad") { - mp.events.callRemote("startBikeSchool"); + } else if (item.Text === "Abbrechen") { drivingMenu.Close(); globalData.InMenu = false; }