mirror of
https://github.com/TangentFoxy/slam.git
synced 2025-07-28 10:42:16 +00:00
fixed #2 ( vrld#1 )
This commit is contained in:
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
|
||||||
|
Reference in New Issue
Block a user