Few minor fixes:

* Fix to tab margins when a tab is closed
* Changed the life bar colors of UICreatureButtons
* Added onDeath to Creatures class
This commit is contained in:
BeniS
2013-01-13 00:41:27 +13:00
parent 1b6be92cad
commit 913cc801b6
4 changed files with 13 additions and 3 deletions

View File

@@ -163,6 +163,7 @@ function UITabBar:removeTab(tab)
removeEvent(tab.blinkEvent)
end
tab:destroy()
updateMargins(self)
end
function UITabBar:getTab(text)