0

Signs should be working again

This commit is contained in:
Andrew Chin
2011-03-27 11:42:11 -04:00
parent 4977ae8767
commit d2252acfe6
4 changed files with 47 additions and 10 deletions

View File

@@ -127,6 +127,11 @@ class MapGen(object):
self.web_assets_hook(self)
return
def finalize(self):
if self.skipjs:
return
# since we will only discover PointsOfInterest in chunks that need to be
# [re]rendered, POIs like signs in unchanged chunks will not be listed
# in self.world.POI. To make sure we don't remove these from markers.js
@@ -153,5 +158,3 @@ class MapGen(object):
output.write(' // ]},\n')
output.write('];')
if self.web_assets_hook:
self.web_assets_hook(self)