Fix and add test for PrototypeManager LoadString (#1574)

This commit is contained in:
DrSmugleaf
2021-02-20 01:43:43 +01:00
committed by GitHub
parent 2409965cf8
commit a9b163992b
2 changed files with 18 additions and 1 deletions

View File

@@ -397,7 +397,7 @@ namespace Robust.Shared.Prototypes
public List<IPrototype> LoadString(string str)
{
return LoadFromStream(new StreamReader(str));
return LoadFromStream(new StringReader(str));
}
#endregion IPrototypeManager members