Update Preconditions.cpp

This commit is contained in:
David Markowitz 2024-07-02 01:55:42 -07:00 committed by GitHub
parent 9400ee1dc0
commit 59c4b35479
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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