git-subtree-dir: multi git-subtree-mainline: 14f186d8e1f36b38f6816dfa4d004dd023b882ce git-subtree-split: 285fa7e933d1986bcbd354294c05cee40ef43cea
10 lines
202 B
Lua
10 lines
202 B
Lua
-- like the while loop (kinda)
|
|
require("multi")
|
|
loop=multi:newLoop(function(self,dt)
|
|
if dt>10 then
|
|
print("Enough time has passed!")
|
|
self:Break() -- lets break this thing
|
|
end
|
|
end)
|
|
multi:mainloop()
|