1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-14 20:25:39 +08:00

Initialise batteries

Note that this is in the wrong place. But so is the rest of this code.
This commit is contained in:
Dean Herbert 2017-10-14 21:40:26 +09:00
parent 9226456f3c
commit 89c17ed13e

View File

@ -83,6 +83,7 @@ namespace osu.Game
private OsuDbContext createDbContext()
{
SQLitePCL.Batteries.Init();
var connectionString = Host.Storage.GetDatabaseConnectionString(@"client");
var context = new OsuDbContext(connectionString);
var connection = context.Database.GetDbConnection();