From ef8b833c96bb41b20ba3c59a82cc42e4145eb30c Mon Sep 17 00:00:00 2001 From: DrSmugleaf Date: Wed, 10 Feb 2021 21:48:14 +0100 Subject: [PATCH] Fix device network connection infinite recursion (#3121) --- Content.Server/DeviceNetwork/DeviceNetworkConnection.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Content.Server/DeviceNetwork/DeviceNetworkConnection.cs b/Content.Server/DeviceNetwork/DeviceNetworkConnection.cs index 9cc17e8cb1..1b7116b799 100644 --- a/Content.Server/DeviceNetwork/DeviceNetworkConnection.cs +++ b/Content.Server/DeviceNetwork/DeviceNetworkConnection.cs @@ -40,7 +40,7 @@ namespace Content.Server.GameObjects.EntitySystems.DeviceNetwork public bool Send(int frequency, string address, Dictionary payload) { - return Send(frequency, address, payload); + return Send(frequency, address, payload, new Metadata()); } public bool Send(string address, Dictionary payload) @@ -55,7 +55,7 @@ namespace Content.Server.GameObjects.EntitySystems.DeviceNetwork public bool Broadcast(int frequency, Dictionary payload) { - return Broadcast(frequency, payload); + return Broadcast(frequency, payload, new Metadata()); } public bool Broadcast(Dictionary payload)