Skip to content

Commit 1e643ac

Browse files
committed
Incorporate jasonS05's second OpenOS error handling fix
1 parent 6f2260e commit 1e643ac

3 files changed

Lines changed: 6 additions & 2 deletions

File tree

changelog.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
## Fixes/improvements
22

33
* [#3769] Add default user agent configuration option; change OpenComputers' default user agent to "opencomputers/$version".
4+
* [#3759] Add V1 and V2 to the robot name list. (AutumnalModding)
5+
* [#3727] Fix more regressions related to OpenOS error handling. (jasonS05, kcinnajlol)
46

57
## List of contributors
68

7-
asie
9+
asie, AutumnalModding, jasonS05, kcinnajlol

src/main/resources/assets/opencomputers/loot/openos/lib/core/boot.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
-- called from /init.lua
22
local raw_loadfile = ...
33

4-
_G._OSVERSION = "OpenOS 1.8.7"
4+
_G._OSVERSION = "OpenOS 1.8.8"
55

66
-- luacheck: globals component computer unicode _OSVERSION
77
local component = component

src/main/resources/assets/opencomputers/loot/openos/lib/process.lua

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,8 @@ function process.load(path, env, init, name)
8181
function(msg)
8282
io.stderr:write("process library exception handler crashed: ", tostring(msg))
8383
end)
84+
85+
result[2] = 128
8486
end
8587

8688
-- onError opens a file, you can't open a file without a process, we close the process last

0 commit comments

Comments
 (0)