loudsmilestudios/TetraForce

Reset wheel resets all water, even outside of its zone

Closed this issue · 1 comments

OS:

All

Game Version:

Custom Master / Current Master

Issue description:

One oversight on the Barrel Puzzle PR, when the reset wheel resets the barrels / water, it currently resets all of the water, even outside of the zone. It's hard to tell from the screenshot, but you can see that the tilemap looks weird under the barrel. Even though the Barrel is floating there, you can fall into the water instead of walking over it.

I believe we just need to add logic to make sure the reset is kept to the zone, somewhere in this function:
image

Steps to reproduce:

Push Barrels all over the place. Currently there are two zones with these puzzles. If you hit the reset wheel in one zone, it will reset the water and puzzles, but the other zone the water will also reset (it shouldn't)

This was Fixed on PR #325