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:
parent
9226456f3c
commit
89c17ed13e
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user