diff options
Diffstat (limited to 'ui.js')
-rw-r--r-- | ui.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -718,7 +718,7 @@ function start_flash() { return; flash_timer = setInterval(function () { if (!game.flash_next) { - element.textContent = game.battle.flash; + element.textContent = game.battle ? game.battle.flash : ""; clearInterval(flash_timer); flash_timer = 0; } else { |