projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b4d5ee2
)
fixed endless loop if stopping tape while auto-playing
author
Holger Schemel
<info@artsoft.org>
Fri, 8 Oct 2021 09:56:19 +0000
(11:56 +0200)
committer
Holger Schemel
<info@artsoft.org>
Fri, 8 Oct 2021 09:56:19 +0000
(11:56 +0200)
src/tape.c
patch
|
blob
|
history
diff --git
a/src/tape.c
b/src/tape.c
index 92d24473e254224f66cad929b12fdf5d72f391a1..68eeaccf0cd1267159d239005ce76870d7b1e6a6 100644
(file)
--- a/
src/tape.c
+++ b/
src/tape.c
@@
-1864,7
+1864,8
@@
static int AutoPlayTapesExt(boolean initialize)
// clear timestamp for batch tape upload (required after interactive upload)
global.autoplay_time = 0;
- if (program.headless)
+ // exit if running headless or if visually auto-playing tapes
+ if (program.headless || global.autoplay_mode != AUTOPLAY_MODE_UPLOAD)
CloseAllAndExit(0);
// when running interactively, restore last selected level set and number