diff options
author | Pekka Lampila <pekka.lampila@iki.fi> | 2014-02-05 08:37:31 +0200 |
---|---|---|
committer | Pekka Lampila <pekka.lampila@iki.fi> | 2014-02-05 11:04:10 +0200 |
commit | b36e17b1acfe60c734b228eb5805a17e9f1f3c57 (patch) | |
tree | 1c5a4ef1a277d62d9f45ff9a0217b05cccf252b1 /crawl-ref/source/files.cc | |
parent | c8a42037c7aa9beac96c59aebe5000cff6cf8f37 (diff) | |
download | crawl-ref-b36e17b1acfe60c734b228eb5805a17e9f1f3c57.tar.gz crawl-ref-b36e17b1acfe60c734b228eb5805a17e9f1f3c57.zip |
Display a dialog on WebTiles after the game ends.
For players this is displayed in a case of a crash/error/unexpected end.
For watchers the dialog is displayed regardless of how the game ended.
Diffstat (limited to 'crawl-ref/source/files.cc')
-rw-r--r-- | crawl-ref/source/files.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/crawl-ref/source/files.cc b/crawl-ref/source/files.cc index 5df57c6bf6..91761e6eef 100644 --- a/crawl-ref/source/files.cc +++ b/crawl-ref/source/files.cc @@ -1591,6 +1591,9 @@ static void _save_game_exit() #ifdef DGL_WHEREIS whereis_record("saved"); #endif +#ifdef USE_TILE_WEB + tiles.send_exit_reason("saved"); +#endif delete you.save; you.save = 0; |