diff --git a/src/Profile/Profile.cpp b/src/Profile/Profile.cpp index ccc42c8..706a88f 100644 --- a/src/Profile/Profile.cpp +++ b/src/Profile/Profile.cpp @@ -473,7 +473,7 @@ auto Profile::setResource(Containers::StringView container, MaterialID id, Int a if(it == mats_prop->items.end()) { res_prop = new ResourceItemValue; if(mats_prop->items.isEmpty()) { - res_prop->name.emplace("ResourceMaterial"); + res_prop->name.emplace(container); } res_prop->id = id; ResourceItemValue::ptr prop{res_prop};