From 84dc74b5bc4ceaf0ab4c36e5b23c6014f6417d4a Mon Sep 17 00:00:00 2001 From: Manuel Simon Hirsig Date: Tue, 2 Aug 2016 14:41:13 +0200 Subject: [PATCH] refactoring --- control.lua | 7 ------- 1 file changed, 7 deletions(-) diff --git a/control.lua b/control.lua index 695152b..a24e940 100644 --- a/control.lua +++ b/control.lua @@ -112,13 +112,6 @@ function public.await(k) }) end -function public.loop(k, ...) - local stop = k(unpack(arg)) - if not stop then - return m.wait(m.loop, k, unpack(arg)) - end -end - function public.sleep(dt, ...) local t0 = GetTime() return m.when(function() return GetTime() - t0 >= dt end, unpack(arg))