diff options
author | Tor Andersson <tor@ccxvii.net> | 2025-01-10 11:53:12 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2025-01-10 11:53:12 +0100 |
commit | 8354bdc5571d5ac3334bb876513ab3ea39db8bd4 (patch) | |
tree | c82d70711246ffc9595280e8127649b8517c331c /rules.js | |
parent | abce47240bca90398e2ded5505dc262e038f0a28 (diff) | |
download | 1989-dawn-of-freedom-8354bdc5571d5ac3334bb876513ab3ea39db8bd4.tar.gz |
remove unflushed summary warnings
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -4316,8 +4316,6 @@ function country_name(country) { // ======== LOG FUNCTIONS ============= function log(msg) { - if (game.summary.length > 0) - throw new Error("UNFLUSHED SUMMARY") game.log.push(msg) } @@ -4370,8 +4368,6 @@ function log_event(n) { } function log_br() { - if (game.summary.length > 0) - throw new Error("UNFLUSHED SUMMARY") if (game.log.length > 0 && game.log[game.log.length - 1] !== "") { game.log.push("") } @@ -4584,7 +4580,6 @@ function vm_inst(a) { function vm_next() { if (game.summary.length > 0) summary_flush() - //throw new Error("UNFLUSHED SUMMARY IN EVENT " + game.vm.fp) game.vm.ip++ vm_exec() } |