v0.6.5: fixed incorrect placement of happy end local unlock

This commit is contained in:
Evan Debenham 2018-04-25 23:39:48 -04:00 committed by Evan Debenham
parent 0ddef2abe6
commit cd5aabf49c

View File

@ -835,9 +835,9 @@ public class Hero extends Char {
GameScene.show( new WndMessage( Messages.get(this, "leave") ) );
ready();
} else {
Badges.silentValidateHappyEnd();
Dungeon.win( Amulet.class );
Dungeon.deleteGame( GamesInProgress.curSlot, true );
Badges.silentValidateHappyEnd();
Game.switchScene( SurfaceScene.class );
}