diff --git a/loader/include/Geode/cocos/base_nodes/CCNode.h b/loader/include/Geode/cocos/base_nodes/CCNode.h index 51817e3c..944001e0 100644 --- a/loader/include/Geode/cocos/base_nodes/CCNode.h +++ b/loader/include/Geode/cocos/base_nodes/CCNode.h @@ -700,12 +700,6 @@ public: * @param cleanup true if all running actions and callbacks on the child node will be cleanup, false otherwise. */ virtual void removeChildByTag(int tag, bool cleanup); - /** - * Removes a child from the container by its ID. - * @param id The ID of the node - * @note Geode addition - */ - void removeChildByID(std::string const& id); /** * Removes all children from the container with a cleanup. * @@ -890,6 +884,13 @@ public: */ GEODE_DLL CCNode* getChildByIDRecursive(std::string const& id); + /** + * Removes a child from the container by its ID. + * @param id The ID of the node + * @note Geode addition + */ + GEODE_DLL void removeChildByID(std::string const& id); + /** * Add a child before a specified existing child * @param child The node to add. The node may not be a child of another