Fix Medic System 3
This commit is contained in:
@@ -235,6 +235,7 @@ export default function factionInteraction(globalData: IGlobalData) {
|
||||
if (activeTask != null) {
|
||||
if (activeTask.Type == 1 && activeCheckpoint && mp.checkpoints.exists(activeCheckpoint)) {
|
||||
deleteCheckpointItem = new UIMenuItem("~r~Checkpoint löschen");
|
||||
factionInteractionMenu.AddItem(deleteCheckpointItem);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -270,6 +271,7 @@ export default function factionInteraction(globalData: IGlobalData) {
|
||||
factionInteractionMenu.Close();
|
||||
mp.gui.chat.activate(true);
|
||||
globalData.InMenu = false;
|
||||
mp.events.call("destroyMedicTaskCheckpoint");
|
||||
break;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user