Compare commits
10 commits
c4f061aa65
...
ba60d29253
Author | SHA1 | Date | |
---|---|---|---|
ba60d29253 | |||
2ec415f2b5 | |||
274d8ce014 | |||
267226a386 | |||
d21e2cbabb | |||
457bb5e89f | |||
5144121812 | |||
cf69d3396f | |||
3403feb668 | |||
6450572f97 |
1 changed files with 1 additions and 1 deletions
|
@ -279,7 +279,7 @@ Profile::setMaterial(MaterialID id, std::int32_t amount) {
|
|||
if(it == mats_prop->items.end()) {
|
||||
res_prop = new ResourceItemValue;
|
||||
if(mats_prop->items.isEmpty()) {
|
||||
res_prop->name.emplace(container);
|
||||
res_prop->name.emplace("ResourceMaterial");
|
||||
}
|
||||
res_prop->id = id;
|
||||
ResourceItemValue::ptr prop{res_prop};
|
||||
|
|
Loading…
Reference in a new issue