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:
@ -101,7 +101,8 @@ namespace osu.Game.Rulesets.Mania.Objects
|
||||
Column = Column
|
||||
};
|
||||
|
||||
tick.ApplyDefaults(controlPointInfo, difficulty);
|
||||
if (controlPointInfo != null && difficulty != null)
|
||||
tick.ApplyDefaults(controlPointInfo, difficulty);
|
||||
|
||||
ret.Add(tick);
|
||||
}
|
||||
|
Reference in New Issue
Block a user