mirror of
https://github.com/TangentFoxy/slam.git
synced 2024-11-14 10:24:21 +00:00
fixed #2 ( vrld#1 )
This commit is contained in:
parent
38b1cbb4dc
commit
51afa82566
2
slam.lua
2
slam.lua
@ -37,7 +37,7 @@ Source.__newindex = function(_,k) error(('Cannot write key %s'):format(tostring(
|
|||||||
local function remove_stopped(sources)
|
local function remove_stopped(sources)
|
||||||
local remove = {}
|
local remove = {}
|
||||||
for s in pairs(sources) do
|
for s in pairs(sources) do
|
||||||
remove[s] = true
|
if (s:isStopped()) then remove[s] = true end
|
||||||
end
|
end
|
||||||
for s in pairs(remove) do
|
for s in pairs(remove) do
|
||||||
sources[s] = nil
|
sources[s] = nil
|
||||||
|
Loading…
Reference in New Issue
Block a user