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'
math.randomseed(os.clock())
-- math.randomseed(os.clock()) -- totally broken
_G.Util = dofile('/sys/apis/util.lua')
_G.debug = function(...) Util.print(...) end

View File

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