cmss13-devs / cmss13

Contains the code for CM-SS13
https://cm-ss13.com
GNU Affero General Public License v3.0
82 stars 468 forks source link

BUG: Stairs using projectors/triggers/cleaners etc. deletes bullets. #3694

Open Nanu308 opened 1 year ago

Nanu308 commented 1 year ago

Testmerges

None.

Description of the bug

Stairs that uses projectors/trigers/cleaners deletes the bullet when the bullet passes the fake Z level border, leading to bullets disappearing instead of transferring to the fake z level and continuing it's path.

Tldr. don't fight on stairs or across fake Z levels, it's bad for ranged.

What's the difference with what should have happened?

Bullets/projectiles should continue their path and hit mobs on the fake Z level when shot at.

How do we reproduce this bug?

  1. Have mobs on both fake Z levels visually available.
  2. Attempt to shoot through the fake Z level border.
  3. Notice bullets never hit anything across the border.

Issue Bingo

fira commented 9 months ago

It's a known issue

AFAIK this is due to bullets using forceMove() and bypassing the step_trigger-s teleportation (which triggers on regular Move)