mirror of
https://github.com/ppy/osu.git
synced 2025-01-13 02:32:55 +08:00
Fix all keybindings being reset every startup
This commit is contained in:
parent
a5ccf12e4a
commit
5b6c331434
@ -30,6 +30,7 @@ namespace osu.Game.Input
|
|||||||
|
|
||||||
protected override void Prepare(bool reset = false)
|
protected override void Prepare(bool reset = false)
|
||||||
{
|
{
|
||||||
|
if (reset)
|
||||||
Connection.Database.ExecuteSqlCommand("DELETE FROM KeyBinding");
|
Connection.Database.ExecuteSqlCommand("DELETE FROM KeyBinding");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user