Update Preconditions.cpp

This commit is contained in:
David Markowitz 2024-06-25 21:02:40 -07:00
parent b648b43c4d
commit f2d72e7ed5

View File

@ -26,7 +26,8 @@ Precondition::Precondition(const uint32_t condition) {
if (result.eof()) {
this->type = PreconditionType::ItemEquipped;
this->count = 1;
this->values = { 0u };
this->values.clear();
this->values.push_back(0);
LOG("Failed to find precondition of id (%i)!", condition);