Due to a code oversight, custom shuttles currently calculate mass based on amount of tiles in the type of the shuttle's area. Because all custom shuttles' areas have the same types, this means the mass uses the sum of all custom shuttle areas.
This PR replaces the proc call that gets the turfs with a simple implementation that specifically iterates over the turfs of the shuttle's areas.
Why It's Good For The Game
Bugfix is good. Also, all shuttles will now no longer be ridiculously heavy as soon as one person builds a big shuttle.
About The Pull Request
Due to a code oversight, custom shuttles currently calculate mass based on amount of tiles in the type of the shuttle's area. Because all custom shuttles' areas have the same types, this means the mass uses the sum of all custom shuttle areas.
This PR replaces the proc call that gets the turfs with a simple implementation that specifically iterates over the turfs of the shuttle's areas.
Why It's Good For The Game
Bugfix is good. Also, all shuttles will now no longer be ridiculously heavy as soon as one person builds a big shuttle.
Changelog
:cl: fix: Shuttle mass calculation /:cl: