mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2025-01-09 17:53:50 +00:00
Boolean to turn these little assholes off.
This commit is contained in:
parent
4b5c0e29be
commit
2c4cbbb025
1 changed files with 12 additions and 9 deletions
|
@ -319,16 +319,19 @@ class DistributedBattleBase(DistributedNode.DistributedNode, BattleBase):
|
|||
pass
|
||||
|
||||
def getInteractiveProp(self):
|
||||
if self.interactiveProp:
|
||||
return self.interactiveProp
|
||||
elif base.cr.playGame.hood:
|
||||
loader = base.cr.playGame.hood.loader
|
||||
|
||||
if hasattr(loader, 'getInteractiveProp'):
|
||||
self.interactiveProp = base.cr.playGame.hood.loader.getInteractiveProp(self.zoneId)
|
||||
|
||||
if config.GetBool('want-anim-props', True):
|
||||
if self.interactiveProp:
|
||||
return self.interactiveProp
|
||||
return None
|
||||
elif base.cr.playGame.hood:
|
||||
loader = base.cr.playGame.hood.loader
|
||||
|
||||
if hasattr(loader, 'getInteractiveProp'):
|
||||
self.interactiveProp = base.cr.playGame.hood.loader.getInteractiveProp(self.zoneId)
|
||||
|
||||
return self.interactiveProp
|
||||
return None
|
||||
else:
|
||||
return None
|
||||
|
||||
def getInteractivePropTrackBonus(self):
|
||||
prop = self.getInteractiveProp()
|
||||
|
|
Loading…
Reference in a new issue