Restrict cmdSetCounterActive to tax counters only

This commit is contained in:
DawnFire42 2026-06-15 10:55:11 -04:00
parent be9b4137d7
commit eddf2c3072
No known key found for this signature in database
GPG key ID: 24BB855EE2911B33
2 changed files with 9 additions and 1 deletions

View file

@ -30,6 +30,11 @@ namespace CounterIds
{
constexpr int CommanderTax = 8;
constexpr int PartnerTax = 9;
inline bool isTaxCounter(int id)
{
return id == CommanderTax || id == PartnerTax;
}
} // namespace CounterIds
namespace CounterNames