Fix an error with plating statuary.

This commit is contained in:
John Cote 2015-07-21 12:21:20 -04:00
parent a06c6a7543
commit 3de77cb7b0

View file

@ -3331,9 +3331,10 @@ class DistributedToonAI(DistributedPlayerAI.DistributedPlayerAI, DistributedSmoo
self.gardenSpecials.append((index, newCount))
self.gardenSpecials.sort()
self.b_setGardenSpecials(self.gardenSpecials)
return
return 1
self.notify.warning("removing garden item %d that toon doesn't have" % index)
return 0
def b_setFlowerCollection(self, speciesList, varietyList):
self.setFlowerCollection(speciesList, varietyList)