From 7ba9e06ebf3d2c1db848675821b3ebe2a0f88d0c Mon Sep 17 00:00:00 2001 From: AJ Kelly Date: Thu, 22 Dec 2011 12:06:08 -0600 Subject: [PATCH] fix up wait --- Themes/_fallback/BGAnimations/_wait.lua | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Themes/_fallback/BGAnimations/_wait.lua b/Themes/_fallback/BGAnimations/_wait.lua index 02384f8304..70d72b18be 100644 --- a/Themes/_fallback/BGAnimations/_wait.lua +++ b/Themes/_fallback/BGAnimations/_wait.lua @@ -1,5 +1,3 @@ -local time = ... -assert(time) -return Def.ActorFrame{ - Def.Actor{ OnCommand=cmd(sleep,time); }; -}; \ No newline at end of file +local waitTime = ... +assert(waitTime,"[_wait] requires a wait time") +return Def.Actor{ OnCommand=cmd(sleep,waitTime); }; \ No newline at end of file