Fix missing/incorrect command error texts

This commit is contained in:
Jonathan G Rennison
2023-08-16 18:55:29 +01:00
parent 1e1ad66e90
commit fac21f3429
3 changed files with 3 additions and 3 deletions

View File

@@ -4584,7 +4584,7 @@ public:
if (this->ctr_qt_op == NEW_TRACE_RESTRICT_COUNTER_ID) {
DoCommandP(0, 0, 0, CMD_CREATE_TRACERESTRICT_COUNTER | CMD_MSG(STR_TRACE_RESTRICT_ERROR_COUNTER_CAN_T_CREATE), nullptr, str);
} else {
DoCommandP(0, this->ctr_qt_op, 0, CMD_ALTER_TRACERESTRICT_COUNTER | CMD_MSG(STR_TRACE_RESTRICT_ERROR_COUNTER_CAN_T_MODIFY), nullptr, str);
DoCommandP(0, this->ctr_qt_op, 0, CMD_ALTER_TRACERESTRICT_COUNTER | CMD_MSG(STR_TRACE_RESTRICT_ERROR_COUNTER_CAN_T_RENAME), nullptr, str);
}
break;