1
0
mirror of https://github.com/Earu/EasyChat.git synced 2025-03-04 03:13:20 -05:00

fix ISteamHTTP (#94)

This commit is contained in:
SendLua 2022-09-11 15:12:22 +07:00 committed by GitHub
parent d9f20de286
commit c5a2b9177c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,7 +22,6 @@ if file.Exists(LOOKUP_PATH, "DATA") then
local json = file.Read(LOOKUP_PATH, "DATA")
load_lookup(json)
else
-- ISteamHTTP is sometimes not available on initialize, thanks Garry
local function fetch_lookup(retries)
retries = retries or 0
@ -70,7 +69,9 @@ else
end
end
timer.Simple(0, function()
fetch_lookup()
end)
end
function transliterator:IsRenderable(input)