* There was a bug in OTML saving hotkeys per player because of the way they are storing children and not a straight value. Perhaps you want to look at it ed.
Note: Your hotkeys will reset in this revision.
This commit is contained in:
BeniS
2013-01-11 17:03:48 +13:00
parent adba4b0da9
commit 914b4bd5f3
2 changed files with 23 additions and 13 deletions

View File

@@ -38,7 +38,7 @@ std::string OTMLEmitter::emitNode(const OTMLNodePtr& node, int currentDepth)
ss << node->tag();
// add ':' to if the node is unique or has value
if(node->hasValue() || node->isUnique() || node->isNull())
if(node->hasValue() || node->isUnique() || node->isNull() || node->hasChildren())
ss << ":";
} else
ss << "-";