mirror of
https://codeberg.org/AntumLuanti/mod-cleaner.git
synced 2025-03-21 15:41:22 +00:00
Minor cleanup
This commit is contained in:
parent
bf37b2e4a5
commit
7d5f61756e
1 changed files with 1 additions and 1 deletions
2
api.lua
2
api.lua
|
@ -28,7 +28,7 @@ end
|
||||||
-- @tparam string src Entity technical name.
|
-- @tparam string src Entity technical name.
|
||||||
function cleaner.remove_entity(src)
|
function cleaner.remove_entity(src)
|
||||||
core.register_entity(":" .. src, {
|
core.register_entity(":" .. src, {
|
||||||
on_activate = function(self, staticdata)
|
on_activate = function(self, ...)
|
||||||
self.object:remove()
|
self.object:remove()
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
|
Loading…
Add table
Reference in a new issue