mirror of
https://github.com/osukey/osukey.git
synced 2025-08-05 07:33:55 +09:00
Make the playfield work in TestCaseGamefield.
This commit is contained in:
@ -52,7 +52,7 @@ namespace osu.Game.Rulesets.Mania.Timing
|
||||
return;
|
||||
}
|
||||
|
||||
var section = drawableTimingSections.LastOrDefault(t => t.CanContain(drawable)) ?? drawableTimingSections.First();
|
||||
var section = drawableTimingSections.LastOrDefault(t => t.CanContain(drawable)) ?? drawableTimingSections.FirstOrDefault();
|
||||
|
||||
if (section == null)
|
||||
throw new Exception("Could not find suitable timing section to add object to.");
|
||||
|
Reference in New Issue
Block a user