implemented import system for modules

This commit is contained in:
Manuel Simon Hirsig
2016-08-19 17:09:44 +02:00
parent 37e789184b
commit e334a444df
4 changed files with 42 additions and 24 deletions
+2 -2
View File
@@ -25,8 +25,8 @@ function UPDATE()
end
end
m.listeners = aux.util.filter(m.listeners, function(l) return not l.killed end)
m.threads = aux.util.filter(m.threads, function(th) return not th.killed end)
m.listeners = filter(m.listeners, function(l) return not l.killed end)
m.threads = filter(m.threads, function(th) return not th.killed end)
for thread_id, thread in m.threads do
if not thread.killed then