mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 08:20:00 +09:00
Update remaining cases of clashing variable name in realm.Run(realm..
This commit is contained in:
@ -76,9 +76,9 @@ namespace osu.Game.Tests.Database
|
||||
|
||||
private int queryCount(GlobalAction? match = null)
|
||||
{
|
||||
return realm.Run(realm =>
|
||||
return realm.Run(r =>
|
||||
{
|
||||
var results = realm.All<RealmKeyBinding>();
|
||||
var results = r.All<RealmKeyBinding>();
|
||||
if (match.HasValue)
|
||||
results = results.Where(k => k.ActionInt == (int)match.Value);
|
||||
return results.Count();
|
||||
|
Reference in New Issue
Block a user