1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-15 00:02:54 +08:00

Remove redundant string interpolation

This commit is contained in:
smoogipoo 2020-10-01 21:48:45 +09:00
parent d7f9b8045c
commit 042c39ae1b

View File

@ -470,7 +470,7 @@ namespace osu.Game.Rulesets.Objects.Drawables
protected void ApplyResult(Action<JudgementResult> application)
{
if (Result.HasResult)
throw new InvalidOperationException($"Cannot apply result on a hitobject that already has a result.");
throw new InvalidOperationException("Cannot apply result on a hitobject that already has a result.");
application?.Invoke(Result);