]> git.smokeofanarchy.ru Git - space-station-14.git/commit
Turn off PointLights on VendingMachines when broken or off. (#33513)
authorNiels Huylebroeck <red15@users.noreply.github.com>
Mon, 25 Nov 2024 12:35:14 +0000 (13:35 +0100)
committerGitHub <noreply@github.com>
Mon, 25 Nov 2024 12:35:14 +0000 (13:35 +0100)
commit49724a9b9d48421f88d7785b972ed27ba01f4d89
tree9c2e3fe4df232e4894337ae424b484cf2d0720ba
parentae576abe1fd64ab596c51264c8cded1181236977
Turn off PointLights on VendingMachines when broken or off. (#33513)

The light itself should already turn off due to `LitOnPowered`
component, but the broken state of a VendingMachine did not.

Fixes  #33382
Content.Server/VendingMachines/VendingMachineSystem.cs