MapStructure: avoid flickering labels/paths
This commit is contained in:
parent
7207f2e629
commit
2c3f457281
1 changed files with 1 additions and 0 deletions
|
@ -550,6 +550,7 @@ var Map = {
|
||||||
layer.update();
|
layer.update();
|
||||||
}
|
}
|
||||||
printlog(_MP_dbg_lvl, "Took "~((systime()-t)*1000)~"ms to update map()");
|
printlog(_MP_dbg_lvl, "Took "~((systime()-t)*1000)~"ms to update map()");
|
||||||
|
me.setBool("update", 1); # update any coordinates that changed, to avoid floating labels etc.
|
||||||
return me;
|
return me;
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue