summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeija <norrepli@gmail.com>2012-04-07 10:03:00 +0200
committerJeija <norrepli@gmail.com>2012-04-07 10:03:00 +0200
commit8870d491ae4b8378726678c15503d14599231a0c (patch)
tree567d6aa873fb1c90327befb369ce31f6ac70d052
parentf8be92691573948a58a34c3cabd8ad3989fe3731 (diff)
downloadmesecons-8870d491ae4b8378726678c15503d14599231a0c.tar
mesecons-8870d491ae4b8378726678c15503d14599231a0c.tar.gz
mesecons-8870d491ae4b8378726678c15503d14599231a0c.tar.bz2
mesecons-8870d491ae4b8378726678c15503d14599231a0c.tar.xz
mesecons-8870d491ae4b8378726678c15503d14599231a0c.zip
Fix game crash on pressure plate dig
-rw-r--r--mesecons_pressureplates/init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesecons_pressureplates/init.lua b/mesecons_pressureplates/init.lua
index 640423d..56a55c2 100644
--- a/mesecons_pressureplates/init.lua
+++ b/mesecons_pressureplates/init.lua
@@ -144,7 +144,7 @@ minetest.register_abm(
minetest.register_on_dignode(
function(pos, oldnode, digger)
if oldnode.name == "mesecons_pressureplates:pressure_plate_stone_on" then
- mesecon:receptor_off(pos, mesecons:get_rules("pressureplate"))
+ mesecon:receptor_off(pos, mesecon:get_rules("pressureplate"))
end
end
)