Skip to content
Snippets Groups Projects
Commit 2676c297 authored by Pregmodder's avatar Pregmodder
Browse files

Merge branch 'gameover-fix' into 'pregmod-master'

gameover fix

Closes #2770

See merge request pregmodfan/fc-pregmod!8744
parents b57d1ae8 4d61941f
No related branches found
No related tags found
No related merge requests found
...@@ -37,9 +37,8 @@ App.EndWeek.personalBusiness = function() { ...@@ -37,9 +37,8 @@ App.EndWeek.personalBusiness = function() {
r.push(`<span class="red">WARNING: you are dangerously indebted.</span> Immediately acquire more liquid assets or you will be in danger of being enslaved yourself.`); r.push(`<span class="red">WARNING: you are dangerously indebted.</span> Immediately acquire more liquid assets or you will be in danger of being enslaved yourself.`);
V.debtWarned += 1; V.debtWarned += 1;
if (V.debtWarned > 1) { if (V.debtWarned > 1) {
V.ui = "start";
V.gameover = "debt"; V.gameover = "debt";
Engine.play("Gameover"); V.nextLink = "Gameover";
} }
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment