mirror of
https://bitbucket.org/grumdrig/pq-web.git
synced 2026-09-29 08:44:00 -06:00
Fix plot bug
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user