mirror of
https://github.com/edubart/otclient.git
synced 2026-01-09 07:41:29 +01:00
Fix error in OTML casting from Lua, may fix #198
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() || node->hasChildren())
|
||||
if(node->hasValue() || node->isUnique() || node->isNull())
|
||||
ss << ":";
|
||||
} else
|
||||
ss << "-";
|
||||
|
||||
Reference in New Issue
Block a user