vgstation-coders / vgstation13

Butts
GNU Affero General Public License v3.0
266 stars 546 forks source link

Brain Damaged People Can Run Into An Airlock Multiple Times In One Opening #22793

Open Kharkov72 opened 5 years ago

Kharkov72 commented 5 years ago

[bugfix]

Description of issue

During a wizard round where I gave everyone brain damage, I saw people headbutt doors multiple times in trying to open it once, possibly due to them moving into it rather than clicking. This killed some lads.

Difference between expected and actual behavior

Wanted one slam, got multiple.

Steps to reproduce

Become retarded, walk into door, profit.

Specific information for locating

Jack Van Helsing headbutts the airlock.x2

Length of time in which bug has been known to occur

Today maybe?

Server revision

Game: 4114a1b397fd0319b4d5b5093481a636893394a4 Patches: 7bb99370800d087bde7033c7457ff5ab5a43f4e1

boy2mantwicethefam commented 5 years ago

They're supposed to be stunned when they headbutt it

GoodG1448 commented 5 years ago

Clicking on the airlock while brain damaged also has a change to headbut the airlock. The safest way to do this is to grab your ID and use it on the airlock, that way you can't headbut it.

This is also related to the issue, you can pull and drag retarded people to the tiles under locked airlocks multiple times. Basically you headslam retards into a coma if you keep doing it and the airlock never opens.

PaulRitter commented 5 years ago

seems like its missing a sanitycheck checking user.incapacitated()