From a5327aa5627c42de00de135a1d1928cd044c44bb Mon Sep 17 00:00:00 2001 From: Dan Balasescu Date: Tue, 19 Nov 2024 18:48:30 +0900 Subject: [PATCH] Use properties instead of fields --- .../Beatmaps/Drawables/UpdateableBeatmapBackgroundSprite.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/osu.Game/Beatmaps/Drawables/UpdateableBeatmapBackgroundSprite.cs b/osu.Game/Beatmaps/Drawables/UpdateableBeatmapBackgroundSprite.cs index 8ddda485b5..be6ca43f4b 100644 --- a/osu.Game/Beatmaps/Drawables/UpdateableBeatmapBackgroundSprite.cs +++ b/osu.Game/Beatmaps/Drawables/UpdateableBeatmapBackgroundSprite.cs @@ -19,12 +19,12 @@ public partial class UpdateableBeatmapBackgroundSprite : ModelBackedDrawable /// Delay before the background is loaded while on-screen. /// - public double BackgroundLoadDelay = 500; + public double BackgroundLoadDelay { get; set; } = 500; /// /// Delay before the background is unloaded while off-screen. /// - public double BackgroundUnloadDelay = 10000; + public double BackgroundUnloadDelay { get; set; } = 10000; [Resolved] private BeatmapManager beatmaps { get; set; } = null!;