This commit is contained in:
2021-04-05 16:34:31 +02:00
parent 9b3c829257
commit d2694f54aa

View File

@@ -120,11 +120,15 @@
}); });
if (!garbageToCollect.has(currBlip)) return; if (!garbageToCollect.has(currBlip)) return;
mp.gui.chat.push("Has Blip.");
var colShape = garbageToCollect.get(currBlip); var colShape = garbageToCollect.get(currBlip);
if (currBlip && mp.blips.exists(currBlip)) if (currBlip && mp.blips.exists(currBlip)) {
mp.gui.chat.push("Delete Blip.");
currBlip.destroy(); currBlip.destroy();
}
if (colShape && mp.colshapes.exists(colShape)) { if (colShape && mp.colshapes.exists(colShape)) {
mp.gui.chat.push("Delete Colshape."); mp.gui.chat.push("Delete Colshape.");
colShape.destroy(); colShape.destroy();