]> git.smokeofanarchy.ru Git - space-station-14.git/commit
Fix improper prediction on unpryable doors (#24738)
authornikthechampiongr <32041239+nikthechampiongr@users.noreply.github.com>
Tue, 30 Jan 2024 18:03:15 +0000 (20:03 +0200)
committerGitHub <noreply@github.com>
Tue, 30 Jan 2024 18:03:15 +0000 (13:03 -0500)
commit9bebdf57069f8c2e2b045009a98bcf46caa68732
tree115abbfb2259d60def1b51d4805abf3abc41193b
parentff7f7881c8d624fa38cc5891f707c27eed3766ac
Fix improper prediction on unpryable doors (#24738)

Fix improper prediction on unpryable doors.

Entities that had CanPry to false on their components would get
improperly predicted as pryable on the client because the check was only
preformed on the server. Same problem existed for welded doors. Moved
the check from server to shared.
Content.Server/Doors/Systems/DoorSystem.cs
Content.Shared/Doors/Systems/SharedDoorSystem.cs