this post was submitted on 03 Aug 2024
43 points (100.0% liked)

Programming

17668 readers
190 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] agentsac@lemmy.world 15 points 4 months ago* (last edited 4 months ago) (2 children)

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.dev 8 points 4 months ago

thanks for letting me know! i'll have to fix it when i get a chance.

[–] monica_b1998@programming.dev 3 points 4 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...