Skip to content

Commit 4ab6faf

Browse files
author
Andreas Kurka
committed
String values are now split from quotes "" when being read. Quotes are already added when value is set
1 parent 44d62f0 commit 4ab6faf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

MapCreationTool/MapCreationTool/Lua/LuaEditor.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,8 @@ object IValueProvider.GetValue(string input)
112112

113113
public string GetValue(string input)
114114
{
115-
return input;
115+
string result = input.Trim('"');
116+
return result;
116117
}
117118

118119
public string GetValueString(string input)

0 commit comments

Comments
 (0)