mirror of
https://github.com/glest/glest-source.git
synced 2025-08-18 22:21:18 +02:00
- bugfix for lua strings
This commit is contained in:
@@ -283,9 +283,9 @@ void LuaScript::saveGame(XmlNode *rootNode) {
|
||||
}
|
||||
|
||||
// enclose the value in "" if it is a string
|
||||
if (value_type == LUA_TSTRING) {
|
||||
value_string = "\"" + value_string + "\"";
|
||||
}
|
||||
//if (value_type == LUA_TSTRING) {
|
||||
//value_string = "\"" + value_string + "\"";
|
||||
//}
|
||||
|
||||
if(skipTable == true) {
|
||||
if(debugLuaDump == true) printf("#2 SKIPPING TABLE\n");
|
||||
|
Reference in New Issue
Block a user