properly format

This commit is contained in:
Ayase Minori 2024-08-20 00:54:53 +08:00 committed by GitHub
parent 040c2772f1
commit 3bcfd8f491
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -56,10 +56,8 @@ if CLIENT then
-- scan for references that are older than 10 seconds or aren't playing anymore -- scan for references that are older than 10 seconds or aren't playing anymore
for i, v in ipairs(references) do for i, v in ipairs(references) do
if not v.ref:isPlaying() then if not v.ref:isPlaying() then
if DEBUG then if DEBUG then print(string.format("Destroying reference, ts: %i sp: %i athr: %s", v.timestamp, i,
print(string.format("Destroying reference, ts: %i sp: %i athr: %s", v.timestamp, i, plyAuthor:getSteamID())) end
plyAuthor:getSteamID()))
end
v.ref:destroy() v.ref:destroy()
table.remove(references, i) table.remove(references, i)
end end