TextPointerLabelParam.get_dependencies() now returns the text pointer

This commit is contained in:
Bryan Bishop 2012-04-27 17:35:06 -05:00
parent 94a6e1b0cc
commit 6321bf121f

View File

@ -1523,6 +1523,9 @@ class TextPointerLabelParam(PointerLabelParam):
if address != None and address != 0:
self.text = parse_text_engine_script_at(address, map_group=self.map_group, map_id=self.map_id, force=self.force, debug=self.debug)
def get_dependencies(self, recompute=False, global_dependencies=set()):
global_dependencies.add(self.text)
return [self.text]
class MovementPointerLabelParam(PointerLabelParam):
pass