factory editor now gets up-to-date spec through DC

This commit is contained in:
Darren Ranalli 2003-09-23 00:42:12 +00:00
parent e954395d38
commit 0b4d42f01c

View File

@ -102,6 +102,10 @@ class DistributedLevelAI(DistributedObjectAI.DistributedObjectAI,
# might come in
##self.sendUpdate('setSpecOverride', [repr(self.spec)])
def getCurrentSpec(self):
"""returns the complete, current spec, including any edits"""
return self.spec
"""
def getSpecOverride(self):
# This is the value we'll send until someone actually edits