]> git.smokeofanarchy.ru Git - space-station-14.git/commit
Fix firelock prediction issues with periodic pulses of closing lights (#28227)
authornikthechampiongr <32041239+nikthechampiongr@users.noreply.github.com>
Fri, 24 May 2024 14:44:42 +0000 (14:44 +0000)
committerGitHub <noreply@github.com>
Fri, 24 May 2024 14:44:42 +0000 (16:44 +0200)
commitb2ca9b6a9cafe1e6f630fc6f085393a367597da1
tree205f0b9fe76559d70fdffeb8019105a4082b4940
parent926f72ee13ab3bea948d517f34957d0c75ccbe3a
Fix firelock prediction issues with periodic pulses of closing lights (#28227)

* Fix firelock prediction issues with periodic pulses of closing lights

For some reason this function was setting a time for the next state
which was triggering the door system to try to close the firelock.
This does not happen serverside because the function only fires from an
event called clientside apparently.
It appears to be an attempt to stop firelocks from closing instantly
that did not function properly, and I cannot discern any other purpose.
As such I have removed it.

* Remove redundant serverside check

This became redundant with commit 439a87f2
Content.Server/Doors/Systems/FirelockSystem.cs
Content.Shared/Doors/Components/FirelockComponent.cs
Content.Shared/Doors/Systems/SharedFirelockSystem.cs