• agentsac@lemmy.world
    link
    fedilink
    arrow-up
    15
    ·
    edit-2
    3 months ago

    There’s a weird bug where you can get four workers per shaft. The ‘hire worker’ button at the end of the shaft disappears after you hire your third worker, but if you click where the button was, you will get a fourth worker for free.

    • monica_b1998@programming.devOP
      link
      fedilink
      arrow-up
      2
      ·
      3 months ago

      I found the problem - there should be no “=” in this part of line 222: shaft.workers.length <= shaft.max_workers

      i’ll update it on the website tomorrow. thanks for catching that! Somehow I hadn’t tested clicking an invisible button…