There is a logic bug in the building prerequisite check when a building is currently in the construction queue.
On a new account with no Warehouse or Granary, the game correctly limits the player to building only one of each. According to the game mechanics, a second Warehouse or Granary should only be unlocked once the first one reach Level 20.
However, while the very first Warehouse or Granary is still ticking down on the construction timer (Level 0 → Level 1), the system does not recognize it as active. As a result, player can click on other empty building lots and queue up multiple Warehouses or Granaries simultaneously, completely bypassing the Level 20 prerequisite.
Once any of them finishes building, the restriction kicks in correctly, preventing further new constructions until the Level 20 requirement is met.
Steps to Reproduce
- Start on a fresh account (or a village with no Warehouse/Granary built).
- Click an empty building lot and start construction on a Warehouse (Level 1).
- While that Warehouse is still under construction (timer is running), click another empty building lot.
- Observe that the Warehouse option is still available to build, allowing you to queue a second, third, or more Warehouses simultaneously.
Expected Behavior
The game should check both existing completed buildings and buildings currently in the construction queue. If a Warehouse/Granary is already under construction and the Level 20 requirement hasn't been met yet, the option to build another one on a separate lot should be disabled.
There is a logic bug in the building prerequisite check when a building is currently in the construction queue.
On a new account with no Warehouse or Granary, the game correctly limits the player to building only one of each. According to the game mechanics, a second Warehouse or Granary should only be unlocked once the first one reach Level 20.
However, while the very first Warehouse or Granary is still ticking down on the construction timer (Level 0 → Level 1), the system does not recognize it as active. As a result, player can click on other empty building lots and queue up multiple Warehouses or Granaries simultaneously, completely bypassing the Level 20 prerequisite.
Once any of them finishes building, the restriction kicks in correctly, preventing further new constructions until the Level 20 requirement is met.
Steps to Reproduce
Expected Behavior
The game should check both existing completed buildings and buildings currently in the construction queue. If a Warehouse/Granary is already under construction and the Level 20 requirement hasn't been met yet, the option to build another one on a separate lot should be disabled.