From 59aa0066115e59b5791be0baf0cb62c2387c7fdc Mon Sep 17 00:00:00 2001 From: William JCM Date: Tue, 13 Dec 2022 22:53:36 +0100 Subject: [PATCH] Profile: actually fix the fix. --- src/Profile/Profile.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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};