File diff r27990:bea5843ebd38 → r27991:0d8a4a945cd0
src/fios_gui.cpp
Show inline comments
 
@@ -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();