From 8da370966118d3cb889a019ea5ca79ce4e82d107 Mon Sep 17 00:00:00 2001 From: "Alan v. Drake" Date: Sun, 12 Nov 2023 10:58:33 +0100 Subject: [PATCH] Editor: mark room as modified when background saved externally Fixes #2216 --- Editor/AGS.Editor/Components/RoomsComponent.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Editor/AGS.Editor/Components/RoomsComponent.cs b/Editor/AGS.Editor/Components/RoomsComponent.cs index 2dfd09175cf..e4035184a9c 100644 --- a/Editor/AGS.Editor/Components/RoomsComponent.cs +++ b/Editor/AGS.Editor/Components/RoomsComponent.cs @@ -1977,6 +1977,7 @@ private void RefreshBackground(int i) _backgroundCache[i]?.Dispose(); _backgroundCache[i] = new RoomImage(LoadBackground(i), false); ((RoomSettingsEditor)_roomSettings.Control).InvalidateDrawingBuffer(); + _loadedRoom.Modified = true; } ///