Lemmings Forums

NeoLemmix => Bugs & Suggestions => Closed => Topic started by: namida on December 10, 2021, 06:03:14 PM

Title: [BUG][PLAYER] Swimmer warping to an portal in water immediately warps back
Post by: namida on December 10, 2021, 06:03:14 PM
To reproduce:

1. Place a pair of portals such that Portal A is not in water, and Portal B is in water. It does not matter whether Portal B is underwater or on the surface, as long as the receive point (bottom-middle of the trigger area) overlaps the water's trigger area.
2. Send a swimmer into Portal A.

Expected: Swimmer warps to Portal B then begins swimming.
Actual behavior: Swimmer warps to Portal B, then immediately warps back to Portal A. Non-swimmers behave as expected. Swimmers behave as expected if Portal A is also in water (whether Portal B is in water as well or not).
Title: Re: [BUG][PLAYER] Swimmer warping to an portal in water immediately warps back
Post by: namida on December 15, 2021, 02:58:37 AM
The reason this happens seems to be because the lemming arrives as a faller, therefore moves downwards (and thus, out of the portal's trigger area) before transitioning to a swimmer. That this happens feels like a bug in and of itself, and fixing that should also correct this bug.

Additionally, all evidence suggests this bug would also happen with teleporters, so will be fixed for those in 12.13.X regardless of what happens with the portal.

Fixed for teleporters in commit 6856bfc, and then for portals in commit 27e5c3c.