Code: Select all
function love.update(dt)
if gui.Button({text = "Test",pos = {100, 100}}) then
self:remove()
end
end
Code: Select all
main.lua:26: Attempt to index global self(a nil value)
Code: Select all
function love.update(dt)
if gui.Button({text = "Test",pos = {100, 100}}) then
self:remove()
end
end
Code: Select all
main.lua:26: Attempt to index global self(a nil value)