Fixed bug with hitting 'M' on New/Load screen.

This commit is contained in:
Martin Haye 2016-07-04 09:00:37 -07:00
parent f88b9bf298
commit f2fe6a1989

View File

@ -288,19 +288,25 @@ def _newOrLoadGame()
newGame(); return 1
fin
home()
^$c053
^$25 = 20
puts("\n N)ew game, or L)oad last game? ")
while TRUE
home()
^$c053
^$25 = 20
puts("\n N)ew game, or L)oad last game? ")
key = rdkey() & $7F
home()
if key > $60; key = key - $20; fin
if key > $60; key = key - $20; fin // convert to upper-case
if key == 'N'
newGame(); return 1
elsif key == 'L' and loadInternal()
return 0
^$c052
newGame()
return 1
elsif key == 'L'
^$c052
if loadInternal()
return 0
fin
fin
^$c053
beep()
loop
end