diff --git a/wadsrc/static/zscript/engine/ui/menu/loadsavemenu.zs b/wadsrc/static/zscript/engine/ui/menu/loadsavemenu.zs index e15ca266f4e..82b5ea4bf78 100644 --- a/wadsrc/static/zscript/engine/ui/menu/loadsavemenu.zs +++ b/wadsrc/static/zscript/engine/ui/menu/loadsavemenu.zs @@ -483,8 +483,8 @@ class SaveMenu : LoadSaveMenu { Super.Init(parent, desc); manager.InsertNewSaveNode(); - TopItem = 0; Selected = manager.ExtractSaveData (-1); + TopItem = MAX(0, Selected - listboxRows + 1); UpdateSaveComment(); } @@ -623,8 +623,8 @@ class LoadMenu : LoadSaveMenu override void Init(Menu parent, ListMenuDescriptor desc) { Super.Init(parent, desc); - TopItem = 0; Selected = manager.ExtractSaveData (-1); + TopItem = MAX(0, Selected - listboxRows + 1); UpdateSaveComment(); }