Fix plot bug

This commit is contained in:
Eric Fredricksen
2010-07-06 12:44:32 -07:00
parent 6ccb3c4d0b
commit 0371163532
+1 -1
View File
@@ -355,12 +355,12 @@ function Dequeue() {
var n = StrToInt(Split(game.queue[0],1)); var n = StrToInt(Split(game.queue[0],1));
var s = Split(game.queue[0],2); var s = Split(game.queue[0],2);
if (a == 'task' || a == 'plot') { if (a == 'task' || a == 'plot') {
game.queue.shift();
if (a == 'plot') { if (a == 'plot') {
CompleteAct(); CompleteAct();
s = 'Loading ' + Plots.last().text(); s = 'Loading ' + Plots.last().text();
} }
Task(s, n * 1000); Task(s, n * 1000);
game.queue.shift();
} else { } else {
throw 'bah!' + a; throw 'bah!' + a;
} }