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:
parent
d9f20de286
commit
c5a2b9177c
@ -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
|
||||
|
||||
fetch_lookup()
|
||||
timer.Simple(0, function()
|
||||
fetch_lookup()
|
||||
end)
|
||||
end
|
||||
|
||||
function transliterator:IsRenderable(input)
|
||||
|
Loading…
Reference in New Issue
Block a user