mirror of
https://github.com/sr229/metastruct-experiments.git
synced 2024-09-19 22:20:35 +00:00
properly format
This commit is contained in:
parent
040c2772f1
commit
3bcfd8f491
1 changed files with 2 additions and 4 deletions
|
@ -56,10 +56,8 @@ if CLIENT then
|
|||
-- scan for references that are older than 10 seconds or aren't playing anymore
|
||||
for i, v in ipairs(references) do
|
||||
if not v.ref:isPlaying() then
|
||||
if DEBUG then
|
||||
print(string.format("Destroying reference, ts: %i sp: %i athr: %s", v.timestamp, i,
|
||||
plyAuthor:getSteamID()))
|
||||
end
|
||||
if DEBUG then print(string.format("Destroying reference, ts: %i sp: %i athr: %s", v.timestamp, i,
|
||||
plyAuthor:getSteamID())) end
|
||||
v.ref:destroy()
|
||||
table.remove(references, i)
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue