fix up wait

This commit is contained in:
AJ Kelly
2011-12-22 12:06:08 -06:00
parent b361105b12
commit 7ba9e06ebf
+3 -5
View File
@@ -1,5 +1,3 @@
local time = ...
assert(time)
return Def.ActorFrame{
Def.Actor{ OnCommand=cmd(sleep,time); };
};
local waitTime = ...
assert(waitTime,"[_wait] requires a wait time")
return Def.Actor{ OnCommand=cmd(sleep,waitTime); };