summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--infrastructure/advanced_automatic_warning_device.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/infrastructure/advanced_automatic_warning_device.lua b/infrastructure/advanced_automatic_warning_device.lua
index 574fc0d..f6fc08d 100644
--- a/infrastructure/advanced_automatic_warning_device.lua
+++ b/infrastructure/advanced_automatic_warning_device.lua
@@ -83,7 +83,7 @@ minetest.register_node("infrastructure:automatic_warning_device_top", {
"infrastructure_automatic_warning_device_top_side.png",
"infrastructure_automatic_warning_device_top.png"
},
- on_destruct = stop_bell,
+ on_destruct = infrastructure.stop_bell,
drawtype = "nodebox",
paramtype = "light",
paramtype2 = "facedir",