Skip to content

Commit

Permalink
Fix bug in QUEUE.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tristan Babcock committed Mar 15, 2013
1 parent c98ffbb commit 086e7e9
Showing 1 changed file with 1 addition and 2 deletions.
Expand Up @@ -20,7 +20,6 @@ private enum Action { CLEAR, SET, DELAY, PAUSE, RESUME }
@Override
public void parseArgs(ScriptEntry scriptEntry) throws InvalidArgumentsException {

ScriptQueue queue = scriptEntry.getResidingQueue();
Action action = null;
Duration delay = null;

Expand Down Expand Up @@ -64,7 +63,7 @@ else if (aH.matchesValueArg("DELAY", arg, aH.ArgumentType.Duration)) {
throw new InvalidArgumentsException("Must specify a delay.");

// Stash args in ScriptEntry for use in execute()
scriptEntry.addObject("queue", queue)
scriptEntry.addObject("queue", queues)
.addObject("action", action)
.addObject("delay", delay);
}
Expand Down

0 comments on commit 086e7e9

Please sign in to comment.