add back deleter

This commit is contained in:
David Markowitz 2024-05-24 03:56:38 -07:00
parent 85cd609168
commit d572ce1f1c

View File

@ -529,6 +529,12 @@ void Item::RemoveFromInventory() {
Item::~Item() {
delete preconditions;
for (auto* value : config) {
delete value;
}
config.clear();
}
void Item::SaveConfigXml(tinyxml2::XMLElement& i) const {