projects
/
zefram
/
minetest
/
minetest_engine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e06d455
)
add_luaentity->add_entity in mods/experimental
author
Perttu Ahola
<celeron55@gmail.com>
Sat, 10 Dec 2011 23:52:37 +0000
(
01:52
+0200)
committer
Perttu Ahola
<celeron55@gmail.com>
Sat, 10 Dec 2011 23:52:37 +0000
(
01:52
+0200)
data/mods/experimental/init.lua
patch
|
blob
|
history
diff --git
a/data/mods/experimental/init.lua
b/data/mods/experimental/init.lua
index 51e86c23460b9b8e704f419ba71f91db78dd417e..6b82b02a2237462e249ca3dd00331ea27a248e02 100644
(file)
--- a/
data/mods/experimental/init.lua
+++ b/
data/mods/experimental/init.lua
@@
-169,7
+169,7
@@
minetest.register_node("experimental:tnt", {
minetest.register_on_punchnode(function(p, node)
if node.name == "experimental:tnt" then
minetest.env:remove_node(p)
- minetest.env:add_
lua
entity(p, "experimental:tnt")
+ minetest.env:add_entity(p, "experimental:tnt")
nodeupdate(p)
end
end)