@@ -396,13 +396,13 @@ public:
default:
this->SetFocusedWidget(WID_SL_FILTER);
}
void Close() override
void Close([[maybe_unused]] int data = 0) override
{
/* pause is only used in single-player, non-editor mode, non menu mode */
if (!_networking && _game_mode != GM_EDITOR && _game_mode != GM_MENU) {
Command<CMD_PAUSE>::Post(PM_PAUSED_SAVELOAD, false);
this->Window::Close();