Reported by bots in #3463
Player::canBuildMoreOfType can allow production beyond MaxSimultaneousOfType when a linked variant is already queued: existing objects are counted by MaxSimultaneousLinkKey, but countUnitTypeInQueue counts only the exact type. Include queued templates sharing the link key in the queue count.
Reported by bots in #3463
Player::canBuildMoreOfTypecan allow production beyondMaxSimultaneousOfTypewhen a linked variant is already queued: existing objects are counted byMaxSimultaneousLinkKey, butcountUnitTypeInQueuecounts only the exacttype. Include queued templates sharing the link key in the queue count.