Boolean to turn these little assholes off.

This commit is contained in:
Loudrob 2015-04-22 07:40:47 -04:00
parent 4b5c0e29be
commit 2c4cbbb025

View file

@ -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()