mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2024-12-23 19:52:37 -06:00
fixed bug
This commit is contained in:
parent
f25ad9caf8
commit
0f622cfe27
1 changed files with 5 additions and 4 deletions
|
@ -187,10 +187,11 @@ class DistributedGagTree(DistributedPlantBase.DistributedPlantBase):
|
|||
self.sendUpdate('requestHarvest', [base.localAvatar.doId])
|
||||
|
||||
def hideItems(self):
|
||||
seq = Parallel()
|
||||
for item in self.fruits:
|
||||
seq.append(LerpFunc(item.setAlphaScale, fromData=1, toData=0, duration=1))
|
||||
seq.start()
|
||||
if hasattr(self, 'fruits') and self.fruits:
|
||||
seq = Parallel()
|
||||
for item in self.fruits:
|
||||
seq.append(LerpFunc(item.setAlphaScale, fromData=1, toData=0, duration=1))
|
||||
seq.start()
|
||||
|
||||
def getTrack(self):
|
||||
return self.gagTrack
|
||||
|
|
Loading…
Reference in a new issue