Commit Graph

4 Commits (master)

Author SHA1 Message Date
octacian 613657d454
Add luacheck and convert spaces to tabs 2018-05-31 11:00:44 -07:00
octacian 6cf860b0b1
Windows: Temporarily fix crash on break computer
Check if `os.execute` is available before attempting to use it (is not
available on Windows). This is not a real fix as it results in empty
directories being left behind in the computer files. The only actual fix
to this issue is an official `rmdir` Minetest API.
2017-11-28 19:30:07 -08:00
octacian a32178ae55 Fix on Windows
Mod would load but would crash upon giving the computer input. This was a result of the base OS files not being copied meaning that the "code" variable would be nil. Bundled in this commit are other related changes improving the overall filesystem-related stability on Windows. TODO: prevent crash when missing important files like main.lua
2017-02-06 21:02:54 -08:00
octacian de79747243 Rewrite entire mod
Now far more efficient, and prepared for the addition of other computer-related items and computers.
2017-01-29 15:18:49 -08:00