From 8870d491ae4b8378726678c15503d14599231a0c Mon Sep 17 00:00:00 2001 From: Jeija Date: Sat, 7 Apr 2012 10:03:00 +0200 Subject: Fix game crash on pressure plate dig --- mesecons_pressureplates/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mesecons_pressureplates/init.lua') 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 ) -- cgit v1.2.3