summaryrefslogtreecommitdiff
path: root/drive_null.lua
diff options
context:
space:
mode:
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