Potential fix for laff meter overlapping

This commit is contained in:
John 2015-08-01 21:41:53 +03:00
parent 0686115b24
commit 6dd6ad8951

View file

@ -49,7 +49,7 @@ class TownBattleToonPanel(DirectFrame):
messenger.send(self.avatar.uniqueName('hpChange'), [avatar.hp, avatar.maxHp, 1])
return None
else:
if self.avatar:
if self.avatar or self.laffMeter:
self.cleanupLaffMeter()
self.avatar = avatar
self.laffMeter = LaffMeter.LaffMeter(avatar.style, avatar.hp, avatar.maxHp)