This commit is contained in:
John Cote 2015-05-23 01:05:43 -04:00
parent 5fd23d0933
commit adafe84346

View file

@ -12,7 +12,7 @@ class PetManagerAI:
def __init__(self, air): def __init__(self, air):
self.air = air self.air = air
self.seeds = simbase.backups.load('pet-seeds', (self.air.districtId,), default={}) self.seeds = simbase.backups.load('pet-seeds', (self.air.districtId,), default={})
if self.seeds.get('day', -1) != getDayId(): if self.seeds.get('day', -1) != getDayId():
self.generateSeeds() self.generateSeeds()
@ -64,4 +64,4 @@ class PetManagerAI:
if pet: if pet:
if pet in self.air.doId2do: if pet in self.air.doId2do:
self.air.doId2do[pet].requestDelete() self.air.doId2do[pet].requestDelete()
av.b_setPetId(0) av.b_setPetId(0)