mirror of
https://github.com/edubart/otclient.git
synced 2025-12-20 23:47:12 +01:00
fixes in Settings/g_configs
This commit is contained in:
@@ -147,6 +147,7 @@ void OTMLNode::write(const T& v) {
|
||||
template<typename T>
|
||||
void OTMLNode::writeAt(const std::string& childTag, const T& v) {
|
||||
OTMLNodePtr child = OTMLNode::create(childTag);
|
||||
child->setUnique(true);
|
||||
child->write<T>(v);
|
||||
addChild(child);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user