comparison CyborgMMO7.lua @ 66:06167f9ed2ac

Fixed closing of main page with cyborg head or minimap icon.
author Jerome Vuarand <jerome.vuarand@gmail.com>
date Thu, 23 Oct 2014 14:22:48 +0100
parents 8b8b0bade520
children
comparison
equal deleted inserted replaced
65:8b8b0bade520 66:06167f9ed2ac
471 CyborgMMO_MainPage:Show() 471 CyborgMMO_MainPage:Show()
472 CyborgMMO_RatQuickPage:Hide() 472 CyborgMMO_RatQuickPage:Hide()
473 end 473 end
474 474
475 function CyborgMMO_IsOpen() 475 function CyborgMMO_IsOpen()
476 if CyborgMMO_MainPage:IsVisible() == 1 then 476 return CyborgMMO_MainPage:IsVisible()
477 return true
478 else
479 return false
480 end
481 end 477 end
482 478
483 function CyborgMMO_Toggle() 479 function CyborgMMO_Toggle()
484 if CyborgMMO_IsOpen() then 480 if CyborgMMO_IsOpen() then
485 CyborgMMO_Close() 481 CyborgMMO_Close()