Fix last bugs

This commit is contained in:
VegaZ
2021-02-13 17:52:04 +01:00
parent 52ebd9d517
commit 49514130b3
2 changed files with 5 additions and 2 deletions

View File

@@ -485,6 +485,7 @@ export default function factionInteraction(globalData: IGlobalData) {
mp.events.add("destroyMedicTaskCheckpoint", () => {
activeCheckpoint.destroy();
activeTask = false;
timeLeft = 0;
mp.events.callRemote("MedicTaskTimeout");
});
@@ -495,7 +496,8 @@ export default function factionInteraction(globalData: IGlobalData) {
activeCheckpoint.destroy();
mp.events.callRemote("PayCutMedicEarnings");
activeTask = false;
deadRespawned = false;
deadRespawned = false;
timeLeft = 0;
} else {
mp.gui.chat.push("DEBUG: Checkpoint VOR wiederbelebung des Spielers betreten")
}