Nebula icon indicating copy to clipboard operation
Nebula copied to clipboard

If shrapnel hits something movable it doesn't stop "being thrown"

Open PsyCommando opened this issue 2 years ago • 2 comments

Description of issue

If shrapnel hits an un-anchored movable object like a girder, it will move it one tile and then stay there permanently stuck in a thrown state. So if you step on the tile where the shrapnel is you'll get hit by shrapnel as if you had been right into its path during an explosion.

Difference between expected and actual behavior

Shrapnel should become inert after hitting something.

Steps to reproduce

  • Put girders around.
  • Throw a frag grenade in a space surrounded by girders.
  • Notice as girders hit by shrapnel move one tile.
  • Step on the turf where the moved girder used to be.
  • Notice it tells you that you were hit by shrapnel and plays the sound effect.

Specific information for locating

Length of time in which bug has been known to occur

Today.

Client version, Server revision & Game ID

6a1dcd035e5c940b65cf582e3722a057726fa7c0

Issue bingo

  • [x] Issue could be reproduced at least once
  • [x] Issue could be reproduced by different players
  • [x] Issue could be reproduced in multiple rounds
  • [x] Issue happened in a recent (less than 7 days ago) round
  • [x] Couldn't find an existing issue about this

PsyCommando avatar Aug 01 '22 18:08 PsyCommando

I think what's happening here is that the girder is being thrown by the explosion_act and then interrupting the vector of the shrapnel projectile, rather than the shrapnel causing the throw. If you put the girders away from the nade and let shrapnel hit them, nothing happens (and throwing an item at a girder doesn't do anything).

MistakeNot4892 avatar Aug 02 '22 08:08 MistakeNot4892

Could be that, yeah.

PsyCommando avatar Aug 03 '22 22:08 PsyCommando