summaryrefslogtreecommitdiff
path: root/firealarm_common/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'firealarm_common/init.lua')
-rw-r--r--firealarm_common/init.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/firealarm_common/init.lua b/firealarm_common/init.lua
index 34ab2ca..b8806b3 100644
--- a/firealarm_common/init.lua
+++ b/firealarm_common/init.lua
@@ -44,7 +44,7 @@ function firealarm.saveDevLists()
end
function firealarm.getDevInfo(devType,pos)
- if devType ~= "panel" and devType ~= "signaling" and devType ~= "notification" then
+ if devType ~= "panel" and devType ~= "signaling" and devType ~= "notification" and devType ~= "annunciator" then
error("Invalid device type specified")
end
local hash = minetest.hash_node_position(pos)
@@ -52,7 +52,7 @@ function firealarm.getDevInfo(devType,pos)
end
function firealarm.setDevInfo(devType,pos,info)
- if devType ~= "panel" and devType ~= "signaling" and devType ~= "notification" then
+ if devType ~= "panel" and devType ~= "signaling" and devType ~= "notification" and devType ~= "annunciator" then
error("Invalid device type specified")
end
local hash = minetest.hash_node_position(pos)