remove superfluous delete function
This commit is contained in:
@ -228,11 +228,9 @@ window.renderPortal = function(ent) {
|
|||||||
// nothing for the portal changed, so don’t update. Let resonators
|
// nothing for the portal changed, so don’t update. Let resonators
|
||||||
// manage themselves if they want to be updated.
|
// manage themselves if they want to be updated.
|
||||||
if(!u) return renderResonators(ent);
|
if(!u) return renderResonators(ent);
|
||||||
removeByGuid(ent[0]);
|
|
||||||
}
|
|
||||||
|
|
||||||
// there were changes, remove old portal
|
// there were changes, remove old portal
|
||||||
removeByGuid(ent[0]);
|
removeByGuid(ent[0]);
|
||||||
|
}
|
||||||
|
|
||||||
var latlng = [ent[2].locationE6.latE6/1E6, ent[2].locationE6.lngE6/1E6];
|
var latlng = [ent[2].locationE6.latE6/1E6, ent[2].locationE6.lngE6/1E6];
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user