Wrong images in building queue widget when downgrading


  1. Summary of the issue (title of the post)

    Wrong images in building queue when downgrading

  2. Overview of the bug (description):

    Most buildings have 3 images depending on their level (like
    ). When downgrading, the building queue widget on the village overview calculates the images as if you were extending the building.

  3. Steps to reproduce:

    1. Have a main building >= 15 so you can downgrade buildings.
    2. Have a building 2 levels below a level where it gets a new image (e.g. the wall gets a new image on level 15, so we take wall on level 13 here).
    3. Click downgrade twice (or more) on the building.
    4. Go to the village overview.
    5. Look at the building queue widget.

  4. Reproduction rate (Every time? Sometimes?):

    Every time.

  5. Browser and Version:

    Safari Version 8.0.2 (10600.2.5)

  6. Visual Reference if available (Screenshot) please put them in a spoiler.:

    This is with a wall on level 13, being downgraded to level 8:


  7. Player name and market for rewards:

    Siguza (beta)