diff --git a/src/UIModding.cpp b/src/UIModding.cpp index d095263..031a8e3 100644 --- a/src/UIModding.cpp +++ b/src/UIModding.cpp @@ -1465,7 +1465,7 @@ void UIModding::doUICheck(CCNode* node) { std::string nodeID = node->getID(); std::replace(nodeID.begin(), nodeID.end(), '/', '$'); - std::string path = "ui/" + nodeID->getID() + ".json" + std::string path = "ui/" + nodeID + ".json" unsigned long fileSize = 0;