From 654859a2a1f17fbadf99f9e9ee950bf7eb79bbe3 Mon Sep 17 00:00:00 2001 From: Dean Herbert Date: Tue, 28 Feb 2017 13:56:30 +0900 Subject: [PATCH] Restore potentially breaking change. --- osu.Game/Database/BeatmapDatabase.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/osu.Game/Database/BeatmapDatabase.cs b/osu.Game/Database/BeatmapDatabase.cs index 5337c0faa5..fc2c7558b0 100644 --- a/osu.Game/Database/BeatmapDatabase.cs +++ b/osu.Game/Database/BeatmapDatabase.cs @@ -25,12 +25,14 @@ namespace osu.Game.Database public event Action BeatmapSetAdded; public event Action BeatmapSetRemoved; + private BeatmapImporter ipc; + public BeatmapDatabase(Storage storage, GameHost importHost = null) { this.storage = storage; if (importHost != null) - new BeatmapImporter(importHost, this); + ipc = new BeatmapImporter(importHost, this); if (connection == null) {