hotfix 3
This commit is contained in:
parent
ec2394bb8b
commit
ed3a695c51
@ -334,6 +334,7 @@ local insert = table.insert
|
|||||||
---@param x number
|
---@param x number
|
||||||
---@param y number
|
---@param y number
|
||||||
function element:draw(x, y)
|
function element:draw(x, y)
|
||||||
|
self.settings.remove =false
|
||||||
if not self.view.lock then
|
if not self.view.lock then
|
||||||
if x then self.view.x = x end
|
if x then self.view.x = x end
|
||||||
if y then self.view.y = y end
|
if y then self.view.y = y end
|
||||||
|
|||||||
2
init.lua
2
init.lua
@ -45,7 +45,7 @@ function helium.update(dt)
|
|||||||
if remove then
|
if remove then
|
||||||
helium.utils.ArrayRemove(helium.elementBuffer, function(t, i)
|
helium.utils.ArrayRemove(helium.elementBuffer, function(t, i)
|
||||||
--returns false or (true if nil)
|
--returns false or (true if nil)
|
||||||
return (not t[i].settings.remove)
|
return (t[i].settings.remove)
|
||||||
end)
|
end)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user