From 15d2795c0d73f2f261f81aae82fbbfda70fffa88 Mon Sep 17 00:00:00 2001 From: wixoaGit Date: Thu, 19 Oct 2023 20:09:41 -0400 Subject: [PATCH] Update RT to v169.0.0 --- OpenDreamRuntime/Rendering/ServerScreenOverlaySystem.cs | 3 ++- RobustToolbox | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/OpenDreamRuntime/Rendering/ServerScreenOverlaySystem.cs b/OpenDreamRuntime/Rendering/ServerScreenOverlaySystem.cs index f697e6823b..48e63e3a41 100644 --- a/OpenDreamRuntime/Rendering/ServerScreenOverlaySystem.cs +++ b/OpenDreamRuntime/Rendering/ServerScreenOverlaySystem.cs @@ -6,7 +6,7 @@ namespace OpenDreamRuntime.Rendering { public sealed class ServerScreenOverlaySystem : SharedScreenOverlaySystem { private readonly Dictionary> _sessionToScreenObjects = new(); - [Dependency] private IEntityManager _entityManager = default!; + [Dependency] private readonly IEntityManager _entityManager = default!; public override void Initialize() { SubscribeLocalEvent(HandleExpandPvsEvent); @@ -31,6 +31,7 @@ public void RemoveScreenObject(DreamConnection connection, DreamObjectMovable sc private void HandleExpandPvsEvent(ref ExpandPvsEvent e) { if (_sessionToScreenObjects.TryGetValue(e.Session, out var objects)) { + e.Entities ??= new(objects.Count); e.Entities.AddRange(objects); } } diff --git a/RobustToolbox b/RobustToolbox index a8ddd837c8..56d850f389 160000 --- a/RobustToolbox +++ b/RobustToolbox @@ -1 +1 @@ -Subproject commit a8ddd837c847f7cd8e71ae4926418a992b6ff4a3 +Subproject commit 56d850f389c49a09df87c3a48be1fbd24dac7fc4