Fix last bugs
This commit is contained in:
@@ -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")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user