GangwarFix zweiter Tag 4
This commit is contained in:
@@ -502,7 +502,7 @@
|
||||
gangturfs[gangturfs.length - 1].edit = false;
|
||||
gangturfs.forEach(function (turf) {
|
||||
turf._status = "disabled";
|
||||
turf.id = -420; //Due to garbage collecting this value needs to be negative, so that the Server doesn't find multiple Turfs in the Database with same ID's.
|
||||
turf.id = null; //Due to garbage collecting this value needs to be negative, so that the Server doesn't find multiple Turfs in the Database with same ID's.
|
||||
if (turf.leaderColShape != null) {
|
||||
turf.leaderColShape.destroy();
|
||||
turf.leaderColShape = null;
|
||||
@@ -510,7 +510,6 @@
|
||||
if (turf._marker)
|
||||
if (turf.blip != null) {
|
||||
mp.game.ui.removeBlip(turf.blip);
|
||||
mp.game.invoke(Natives.SET_BLIP_ALPHA, turf.blip, 0);
|
||||
}
|
||||
if (turf.leaderBlip != null) {
|
||||
mp.game.ui.removeBlip(turf.leaderBlip);
|
||||
@@ -518,7 +517,6 @@
|
||||
if (turf.attackBlip != null) {
|
||||
mp.game.ui.removeBlip(turf.attackBlip);
|
||||
}
|
||||
Natives
|
||||
});
|
||||
}
|
||||
clearBlips();
|
||||
|
||||
Reference in New Issue
Block a user