mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 16:29:58 +09:00
Fix possible nullref exceptions
This commit is contained in:
@ -130,7 +130,8 @@ namespace osu.Game.Rulesets.Catch.Objects
|
||||
});
|
||||
}
|
||||
|
||||
ticks.ForEach(t => t.ApplyDefaults(controlPointInfo, difficulty));
|
||||
if (controlPointInfo != null && difficulty != null)
|
||||
ticks.ForEach(t => t.ApplyDefaults(controlPointInfo, difficulty));
|
||||
|
||||
return ticks;
|
||||
}
|
||||
|
Reference in New Issue
Block a user