projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
03a494c
)
fixed bug with resetting level set handicap when using "last played" menu
author
Holger Schemel
<info@artsoft.org>
Tue, 26 Jul 2022 18:50:34 +0000
(20:50 +0200)
committer
Holger Schemel
<info@artsoft.org>
Tue, 26 Jul 2022 18:54:49 +0000
(20:54 +0200)
src/screens.c
patch
|
blob
|
history
diff --git
a/src/screens.c
b/src/screens.c
index 809d7c2d6c738811a0b58933d3b50a145852e884..41cde998f09bb12e1488f56f0e08cee0735daf3e 100644
(file)
--- a/
src/screens.c
+++ b/
src/screens.c
@@
-1729,6
+1729,11
@@
void DrawMainMenu(void)
if (leveldir_current != leveldir_last_valid)
{
+ // level setup config may have been loaded to "last played" tree node copy,
+ // but "leveldir_current" now points to the "original" level set tree node,
+ // in which case "handicap_level" may still default to the first level
+ LoadLevelSetup_SeriesInfo();
+
UpdateLastPlayedLevels_TreeInfo();
levelset_has_changed = TRUE;