mirror of
https://github.com/kepler155c/opus
synced 2025-02-03 10:59:10 +00:00
randomseed broken
This commit is contained in:
parent
236bf5845d
commit
6f62d59108
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user