This commit is contained in:
Kenny Shields 2014-01-13 04:24:03 -05:00
parent e84048b74e
commit 10a1eb31bb

View File

@ -771,10 +771,10 @@ function newobject:CheckHover()
end end
local hover = self.hover local hover = self.hover
local calledmousefunc = self.calledmousefunc
-- check for mouse enter and exit events -- check for mouse enter and exit events
if hover then if hover then
local calledmousefunc = self.calledmousefunc
loveframes.hover = true loveframes.hover = true
if not calledmousefunc then if not calledmousefunc then
local on_mouse_enter = self.OnMouseEnter local on_mouse_enter = self.OnMouseEnter