1
0
mirror of https://github.com/kepler155c/opus synced 2025-02-03 10:59:10 +00:00

randomseed broken

This commit is contained in:
kepler155c@gmail.com 2017-05-13 20:46:26 -04:00
parent 236bf5845d
commit 6f62d59108
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@ print('\nStarting multishell..')
LUA_PATH = '/sys/apis' LUA_PATH = '/sys/apis'
math.randomseed(os.clock()) -- math.randomseed(os.clock()) -- totally broken
_G.Util = dofile('/sys/apis/util.lua') _G.Util = dofile('/sys/apis/util.lua')
_G.debug = function(...) Util.print(...) end _G.debug = function(...) Util.print(...) end

View File

@ -22,7 +22,7 @@ function clipboard.isInternal()
end end
function clipboard.useInternal(mode) function clipboard.useInternal(mode)
if mode ~= clipboard.mode then if mode ~= clipboard.internal then
clipboard.internal = mode clipboard.internal = mode
os.queueEvent('clipboard_mode', mode) os.queueEvent('clipboard_mode', mode)
end end