Skip to content

Commit

Permalink
Trim legacy scene name and authors.
Browse files Browse the repository at this point in the history
  • Loading branch information
nrgill28 committed Apr 9, 2021
1 parent 2eabef1 commit 27fd65d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions WurstMod/Shared/LevelInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@ public AssetBundle AssetBundle
var lines = new StreamReader(manifest.OpenRead()).ReadToEnd().Split('\n');
return new LevelInfo
{
SceneName = lines[0],
Author = lines[1],
SceneName = lines[0].Trim(),
Author = lines[1].Trim(),
Gamemode = path.Path.Contains("TakeAndHold") ? Constants.GamemodeTakeAndHold : Constants.GamemodeSandbox,
Location = path,
Mod = mod
Expand Down

0 comments on commit 27fd65d

Please sign in to comment.