Skip to content

Commit

Permalink
Update Preconditions.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
EmosewaMC committed Jun 26, 2024
1 parent b648b43 commit f2d72e7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dGame/dUtilities/Preconditions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit f2d72e7

Please sign in to comment.