Skip to content

Commit a16908a

Browse files
authored
Merge pull request #1 from Kxnrl/fix-value-compare
fix: value compare
2 parents 7c3449f + 69cbd98 commit a16908a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/actions/actions.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ bool DoesConnectionMatch(const EntityIOConnectionDescFat_t* connectionDesc, cons
8585
if (matchConnection->m_flDelay.has_value() && connectionDesc->m_flDelay != matchConnection->m_flDelay.value())
8686
return false;
8787

88-
if (matchConnection->m_nTimesToFire.has_value() && connectionDesc->m_flDelay != matchConnection->m_flDelay.value())
88+
if (matchConnection->m_nTimesToFire.has_value() && connectionDesc->m_nTimesToFire != matchConnection->m_nTimesToFire.value())
8989
return false;
9090

9191
return true;
@@ -256,4 +256,4 @@ void ApplyMapOverride(std::vector<std::unique_ptr<BaseAction>>& actions, CUtlVec
256256
}
257257
}
258258
}
259-
}
259+
}

0 commit comments

Comments
 (0)