added docs and fixed desc loading from item def
This commit is contained in:
@@ -29,6 +29,7 @@ template<> void ContentUnitLoader<ItemDef>::loadUnit(
|
||||
parentDef->cloneTo(def);
|
||||
}
|
||||
root.at("caption").get(def.caption);
|
||||
root.at("description").get(def.description);
|
||||
|
||||
std::string iconTypeStr = "";
|
||||
root.at("icon-type").get(iconTypeStr);
|
||||
|
||||
Reference in New Issue
Block a user