1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-03-25 05:59:43 +00:00

fixed several instances when PTM score would not be recorded when changing modes

This commit is contained in:
Zeno Rogue
2018-07-11 12:25:19 +02:00
parent 332bae84de
commit c9f5b1e048
8 changed files with 11 additions and 3 deletions

View File

@@ -1469,9 +1469,11 @@ void init() {
showstartmenu = false;
#if !ISWEB
mapeditor::drawplayer = false;
stop_game();
firstland = specialland = laCanvas;
restart_game(shmup::on ? rg::shmup : rg::nothing);
#else
stop_game();
firstland = specialland = laCanvas;
restart_game(rg::nothing);
#endif