various: fix mismatches in some action stubs and ResourceMgrTask

This commit is contained in:
root
2026-06-23 03:05:43 -06:00
parent 5c4f52d5ba
commit 003de4ab9f
5 changed files with 13 additions and 8 deletions
+2 -1
View File
@@ -28,7 +28,8 @@ void Off::loadParams_() {
}
void Off::calc_() {
ActionEx::calc_();
if (isFinishedAS(*mTargetIdx_s, *mSeqBankIdx_s))
setFinished();
}
} // namespace uking::action
+2 -1
View File
@@ -28,7 +28,8 @@ void On::loadParams_() {
}
void On::calc_() {
ActionEx::calc_();
if (isFinishedAS(*mTargetIdx_s, *mSeqBankIdx_s))
setFinished();
}
} // namespace uking::action
@@ -21,7 +21,8 @@ void PlayerStoleOpenBase::loadParams_() {
}
void PlayerStoleOpenBase::calc_() {
ActionEx::calc_();
if (isFinishedAS(0, 0))
setFinished();
}
} // namespace uking::action
@@ -681,7 +681,9 @@ void ResourceMgrTask::setCompactionStopped(bool stopped) {
old_counter = mCompactionCounter.increment();
stubbedLogFunction();
if (mCompactionCounter == 0 || old_counter == 0)
if (mCompactionCounter == 0)
stubbedLogFunction();
else if (old_counter == 0)
stubbedLogFunction();
}