mirror of
https://github.com/leafo/moonscript.git
synced 2024-11-22 02:44:23 +00:00
commit
30116b21e1
@ -165,7 +165,7 @@ end
|
|||||||
local function get_sleep_func()
|
local function get_sleep_func()
|
||||||
local sleep
|
local sleep
|
||||||
if not pcall(function()
|
if not pcall(function()
|
||||||
require "socket"
|
local socket = require "socket"
|
||||||
sleep = socket.sleep
|
sleep = socket.sleep
|
||||||
end) then
|
end) then
|
||||||
-- This is set by moonc.c in windows binaries
|
-- This is set by moonc.c in windows binaries
|
||||||
|
Loading…
Reference in New Issue
Block a user