mirror of
https://github.com/edubart/otclient.git
synced 2025-10-15 03:54:54 +02:00
Applied #189
* 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:
@@ -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 << "-";
|
||||
|
Reference in New Issue
Block a user