From ae501a859d06a6354ca34eef0ec0d28a9ff37c85 Mon Sep 17 00:00:00 2001 From: payonel Date: Thu, 7 Sep 2017 10:34:47 -0700 Subject: [PATCH] return true from thread method as per documented specification --- .../resources/assets/opencomputers/loot/openos/lib/thread.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/resources/assets/opencomputers/loot/openos/lib/thread.lua b/src/main/resources/assets/opencomputers/loot/openos/lib/thread.lua index b1d860fd8..5c62cee07 100644 --- a/src/main/resources/assets/opencomputers/loot/openos/lib/thread.lua +++ b/src/main/resources/assets/opencomputers/loot/openos/lib/thread.lua @@ -86,6 +86,7 @@ function box_thread:resume() if coroutine.status(self.pco.root) == "suspended" and not mt.reg then mt.register(0) end + return true end function box_thread:suspend() @@ -98,6 +99,7 @@ function box_thread:suspend() if pco_status == "running" or pco_status == "normal" then mt.coma() end + return true end function box_thread:status()