- Unify clipboard
This commit is contained in:
@@ -204,7 +204,7 @@ function scene.update(dt)
|
||||
end
|
||||
ct=ct-1
|
||||
if ct==0 then
|
||||
local t=love.system.getClipboardText()
|
||||
local t=CLIPBOARD.get()
|
||||
if type(t)=='string' then
|
||||
t=t:lower():match("^s=(%d+)$")
|
||||
t=t and tonumber(t) and tonumber(t)>0 and tonumber(t)<=8000 and floor(tonumber(t))
|
||||
|
||||
Reference in New Issue
Block a user