hotfix
This commit is contained in:
@@ -51,12 +51,16 @@ export default function drivingSchoolList(globalData: GlobalData) {
|
||||
});
|
||||
|
||||
drivingMenu.ItemSelect.on((item) => {
|
||||
if (item.Text === "Auto") {
|
||||
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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user