mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2024-12-24 04:02:40 -06:00
Clean
This commit is contained in:
parent
5fd23d0933
commit
adafe84346
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue