mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 08:20:00 +09:00
Fix all keybindings being reset every startup
This commit is contained in:
@ -30,7 +30,8 @@ namespace osu.Game.Input
|
||||
|
||||
protected override void Prepare(bool reset = false)
|
||||
{
|
||||
Connection.Database.ExecuteSqlCommand("DELETE FROM KeyBinding");
|
||||
if (reset)
|
||||
Connection.Database.ExecuteSqlCommand("DELETE FROM KeyBinding");
|
||||
}
|
||||
|
||||
private void insertDefaults(IEnumerable<KeyBinding> defaults, int? rulesetId = null, int? variant = null)
|
||||
|
Reference in New Issue
Block a user