From a5c92e0d14d0abc823257c9b47e45cd5e3a2b4d5 Mon Sep 17 00:00:00 2001 From: Pieter-Jan Briers Date: Sat, 9 Oct 2021 20:13:52 +0200 Subject: [PATCH] Fixed certain vending machines having very large ambient light radius and shining through walls. base VendingMachine didn't set a light radius so machines that didn't override it had radius 5 which is way too much. --- Resources/Changelog/Parts/pjb-vending-lighting.yml | 4 ++++ .../Entities/Structures/Machines/vending_machines.yml | 1 + 2 files changed, 5 insertions(+) create mode 100644 Resources/Changelog/Parts/pjb-vending-lighting.yml diff --git a/Resources/Changelog/Parts/pjb-vending-lighting.yml b/Resources/Changelog/Parts/pjb-vending-lighting.yml new file mode 100644 index 0000000000..a525585e53 --- /dev/null +++ b/Resources/Changelog/Parts/pjb-vending-lighting.yml @@ -0,0 +1,4 @@ +author: PJB +changes: +- type: Fix + message: Fixed certain vending machines having very large ambient light radius and shining through walls. diff --git a/Resources/Prototypes/Entities/Structures/Machines/vending_machines.yml b/Resources/Prototypes/Entities/Structures/Machines/vending_machines.yml index a070b150dd..dafa7cb1d1 100644 --- a/Resources/Prototypes/Entities/Structures/Machines/vending_machines.yml +++ b/Resources/Prototypes/Entities/Structures/Machines/vending_machines.yml @@ -49,6 +49,7 @@ - type: PointLight enabled: false castShadows: false + radius: 1.5 - type: LitOnPowered - type: entity