]> git.smokeofanarchy.ru Git - space-station-14.git/commit
Fix inconsistent borg flashlight state (#33027)
authoreoineoineoin <github@eoinrul.es>
Thu, 16 Jan 2025 10:34:11 +0000 (10:34 +0000)
committerGitHub <noreply@github.com>
Thu, 16 Jan 2025 10:34:11 +0000 (11:34 +0100)
commit820517eb38145b26485597161e1380a0feaf0cc1
tree546a6dea62684ec04631ee5d34baab4f0ba9090c
parent85b9f919af957d800eb47f317c6d229fe50a9562
Fix inconsistent borg flashlight state (#33027)

* Fix borg light being stuck on if no cell is inserted

* Fix HandheldLightComponent.Activted becoming out of sync with SharedPointLightComponent.Enabled

* Fix for entities which don't have a handheld light component
Content.Server/Silicons/Borgs/BorgSystem.cs
Content.Shared/Light/EntitySystems/ItemTogglePointLightSystem.cs