diff options
author | cheapie <no-email-for-you@example.com> | 2023-08-18 18:15:31 -0500 |
---|---|---|
committer | cheapie <no-email-for-you@example.com> | 2023-08-18 18:15:31 -0500 |
commit | 6856fc39790ed0ec912148d7fff91a9b95808e65 (patch) | |
tree | 4acef5505564dbc4b2fd8f681daa3f4ab98ccd90 /drive_null.lua | |
parent | e35e98148acff3c7da7b9b70619ae625fef0bbef (diff) | |
download | celevator-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.lua | 5 |
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 |