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