mirror of
https://github.com/ppy/osu
synced 2025-01-19 04:20:59 +00:00
Fix infinite loop when importing maps that have storyboard elements with '$' in the filename
This commit is contained in:
parent
a8cf7ff93a
commit
64d92c1557
@ -222,7 +222,7 @@ namespace osu.Game.Beatmaps.Formats
|
||||
/// <param name="line">The line which may contains variables.</param>
|
||||
private void decodeVariables(ref string line)
|
||||
{
|
||||
while (line.IndexOf('$') >= 0)
|
||||
if (line.IndexOf('$') >= 0)
|
||||
{
|
||||
string[] split = line.Split(',');
|
||||
for (int i = 0; i < split.Length; i++)
|
||||
|
Loading…
Reference in New Issue
Block a user