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