Get first Quest when you should

This commit is contained in:
Eric Fredricksen
2010-07-06 12:53:06 -07:00
parent 0371163532
commit eb4d3e721b
+5 -9
View File
@@ -2,8 +2,6 @@
// TODO: Test use of seed as DNA // TODO: Test use of seed as DNA
// TODO: Layout newguy and main better // TODO: Layout newguy and main better
// TODO: fix Prologue plot bar
// TODO: get first quest
// revs: // revs:
// 6: pq 6.3/web // 6: pq 6.3/web
@@ -942,13 +940,11 @@ function Timer1Timer() {
} }
// advance quest // advance quest
if (gain) { if (gain && game.act >= 1) {
if (Plots.length() > 1) { if (QuestBar.done() || !Quests.length()) {
if (QuestBar.done()) { CompleteQuest();
CompleteQuest(); } else {
} else if (Quests.length() > 0) { QuestBar.increment(TaskBar.Max / 1000);
QuestBar.increment(TaskBar.Max / 1000);
}
} }
} }