Fix Medic 8

This commit is contained in:
VegaZ
2021-04-04 16:58:38 +02:00
parent 3180cdeb94
commit 866b9f9761
2 changed files with 2 additions and 2 deletions

View File

@@ -527,7 +527,7 @@ export default function factionInteraction(globalData: IGlobalData) {
if (timeLeft != null) {
if (deadRespawned == false) {
//timeLeft = Math.round(Math.abs(Math.floor(currentDate.getTime() / 1000) - activeTask.TimeLeft - 60));
if (timeLeft < 60) mp.events.call("cutMedicEarnings");
if (timeLeft < 120) mp.events.call("cutMedicEarnings");
} else {
//timeLeft = Math.round(Math.abs(Math.floor(currentDate.getTime() / 1000) - activeTask.TimeLeft - 120));
if (timeLeft < 1) mp.events.call("destroyMedicTaskCheckpoint");