mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-15 03:30:53 +01:00
Fix and add test for PrototypeManager LoadString (#1574)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user