Skip to content

Commit 92af95d

Browse files
authored
Merge pull request #45 from skx/44-clean-exit
Correctly terminate the game cleanly on death/quit
2 parents 8480360 + 8989f69 commit 92af95d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

game.z80

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -668,9 +668,10 @@ play_again_yes:
668668

669669
; User chose "N" to "play again?"
670670
play_again_no:
671-
ld de, play_again_no
671+
ld de, play_again_no_msg
672672
call bios_output_string
673673
IF SPECTRUM
674+
pop de
674675
ret
675676
ELSE
676677
ld c, 0x0

0 commit comments

Comments
 (0)