summaryrefslogtreecommitdiff
path: root/drive_null.lua
diff options
context:
space:
mode:
authorcheapie <no-email-for-you@example.com>2023-08-18 18:15:31 -0500
committercheapie <no-email-for-you@example.com>2023-08-18 18:15:31 -0500
commit6856fc39790ed0ec912148d7fff91a9b95808e65 (patch)
tree4acef5505564dbc4b2fd8f681daa3f4ab98ccd90 /drive_null.lua
parente35e98148acff3c7da7b9b70619ae625fef0bbef (diff)
downloadcelevator-6856fc39790ed0ec912148d7fff91a9b95808e65.tar
celevator-6856fc39790ed0ec912148d7fff91a9b95808e65.tar.gz
celevator-6856fc39790ed0ec912148d7fff91a9b95808e65.tar.bz2
celevator-6856fc39790ed0ec912148d7fff91a9b95808e65.tar.xz
celevator-6856fc39790ed0ec912148d7fff91a9b95808e65.zip
Assorted bug fixes
Diffstat (limited to 'drive_null.lua')
-rw-r--r--drive_null.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/drive_null.lua b/drive_null.lua
index 28c7e04..417d857 100644
--- a/drive_null.lua
+++ b/drive_null.lua
@@ -225,3 +225,8 @@ function celevator.drives.null.getstatus(pos,call2)
return ret
end
end
+
+function celevator.drives.null.resetfault(pos)
+ --This drive has no possible faults at this time (drive communication faults are generated by the controller), but the controller expects to be able to call this
+ minetest.get_meta(pos):set_string("fault","")
+end