diff --git a/changelog.md b/changelog.md index c82f9e553..d60edc02f 100644 --- a/changelog.md +++ b/changelog.md @@ -1,7 +1,9 @@ ## Fixes/improvements * [#3769] Add default user agent configuration option; change OpenComputers' default user agent to "opencomputers/$version". +* [#3759] Add V1 and V2 to the robot name list. (AutumnalModding) +* [#3727] Fix more regressions related to OpenOS error handling. (jasonS05, kcinnajlol) ## List of contributors -asie +asie, AutumnalModding, jasonS05, kcinnajlol \ No newline at end of file diff --git a/src/main/resources/assets/opencomputers/loot/openos/lib/core/boot.lua b/src/main/resources/assets/opencomputers/loot/openos/lib/core/boot.lua index 61496667a..736fe1129 100644 --- a/src/main/resources/assets/opencomputers/loot/openos/lib/core/boot.lua +++ b/src/main/resources/assets/opencomputers/loot/openos/lib/core/boot.lua @@ -1,7 +1,7 @@ -- called from /init.lua local raw_loadfile = ... -_G._OSVERSION = "OpenOS 1.8.7" +_G._OSVERSION = "OpenOS 1.8.8" -- luacheck: globals component computer unicode _OSVERSION local component = component diff --git a/src/main/resources/assets/opencomputers/loot/openos/lib/process.lua b/src/main/resources/assets/opencomputers/loot/openos/lib/process.lua index c69dbc5e0..7285b91cd 100644 --- a/src/main/resources/assets/opencomputers/loot/openos/lib/process.lua +++ b/src/main/resources/assets/opencomputers/loot/openos/lib/process.lua @@ -81,6 +81,8 @@ function process.load(path, env, init, name) function(msg) io.stderr:write("process library exception handler crashed: ", tostring(msg)) end) + + result[2] = 128 end -- onError opens a file, you can't open a file without a process, we close the process last