summaryrefslogtreecommitdiff
path: root/controller.lua
diff options
context:
space:
mode:
authorcheapie <no-email-for-you@example.com>2024-04-14 15:55:08 -0500
committercheapie <no-email-for-you@example.com>2024-04-14 15:55:08 -0500
commit6152a079ab1c7583da32b71c7236cd079fe2810b (patch)
tree4986986b5f60741a646d01c3e1435a7bb510bd57 /controller.lua
parent8fc57f0535946351de94066e71b02b16b2c81bf9 (diff)
downloadcelevator-6152a079ab1c7583da32b71c7236cd079fe2810b.tar
celevator-6152a079ab1c7583da32b71c7236cd079fe2810b.tar.gz
celevator-6152a079ab1c7583da32b71c7236cd079fe2810b.tar.bz2
celevator-6152a079ab1c7583da32b71c7236cd079fe2810b.tar.xz
celevator-6152a079ab1c7583da32b71c7236cd079fe2810b.zip
Add floor passing beep
Diffstat (limited to 'controller.lua')
-rw-r--r--controller.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/controller.lua b/controller.lua
index 90fd841..0912776 100644
--- a/controller.lua
+++ b/controller.lua
@@ -435,6 +435,8 @@ function celevator.controller.finish(pos,mem,changedinterrupts)
celevator.drives[drivetype].movedoors(drivepos,"close")
elseif command.command == "resetfault" then
celevator.drives[drivetype].resetfault(drivepos)
+ elseif command.command == "pibeep" then
+ celevator.drives[drivetype].pibeep(drivepos)
end
end
end