Make taiko stop crashing for now

This commit is contained in:
smoogipoo 2017-11-02 23:31:50 +09:00
parent f7540e28ba
commit 3f20caa543
1 changed files with 6 additions and 1 deletions

View File

@ -244,7 +244,12 @@ public override void OnJudgement(DrawableHitObject judgedObject, Judgement judge
if (judgedObject.X >= -0.05f && judgedObject is DrawableHit)
{
// If we're far enough away from the left stage, we should bring outselves in front of it
topLevelHitContainer.Add(judgedObject.CreateProxy());
// Todo: The following try-catch is temporary for replay rewinding support
try
{
topLevelHitContainer.Add(judgedObject.CreateProxy());
}
catch { }
}
hitExplosionContainer.Add(new HitExplosion(judgedObject, isRim));