diff classes/Bar.lua @ 159:799c6ea9da7b

added vehicle exit floater some fixes for vehicle exit button on main bars still some lingering settexcoords issues on the vehicle exit icon
author Flick <flickerstreak@gmail.com>
date Mon, 29 Jun 2009 17:43:16 +0000
parents e77f716af1b7
children 8cc187143acd
line wrap: on
line diff
--- a/classes/Bar.lua	Sat Jun 13 00:13:52 2009 +0000
+++ b/classes/Bar.lua	Mon Jun 29 17:43:16 2009 +0000
@@ -115,7 +115,7 @@
 
 local _onstate_unitexists = -- function( self, stateid, newstate )
 [[
-  unithide = not newstate
+  unithide = not newstate or newstate == "hide"
 ]] .. _reaction_refresh
 
 local _onclick =  -- function( self, button, down )