fix bigbug

This commit is contained in:
Josh
2018-06-07 14:57:55 -05:00
parent f35aaad599
commit d64c40f1dd
2 changed files with 4 additions and 1 deletions

View File

@@ -129,7 +129,7 @@ function UIRect:update(delta)
local pos = self:getAbsolutePosition()
local size = self:getAbsolutePosition()
local size = self:getAbsoluteSize()
local mouseWithin = true
if not (mousePos.x > pos.x) then mouseWithin = false end

View File

@@ -63,6 +63,8 @@ local debugInfoString = ""
local luaEngineMemory = 0
local luaHighestMem = 0
local ticktock = 0
function love.load()
windowCreationSuccess = love.window.setMode(1024, 600, {
resizable = true,
@@ -76,6 +78,7 @@ function love.load()
end
function love.update(delta)
mainmenu:update(delta)
luaEngineMemory = round(collectgarbage('count'), 0)