From: Holger Schemel Date: Tue, 26 Jul 2022 18:50:34 +0000 (+0200) Subject: fixed bug with resetting level set handicap when using "last played" menu X-Git-Tag: 4.3.3.0~78 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=6deb99c9e8a8bed595f05f7fe749f4d8a192e2a3;p=rocksndiamonds.git fixed bug with resetting level set handicap when using "last played" menu --- diff --git a/src/screens.c b/src/screens.c index 809d7c2d..41cde998 100644 --- 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;