From 9dd746b92bcef4a731fd86017ecb5ae799ed09dd Mon Sep 17 00:00:00 2001 From: Evil Factory <36804725+evilfactory@users.noreply.github.com> Date: Fri, 30 Apr 2021 11:28:34 -0300 Subject: [PATCH] wifi fix --- .../SharedSource/Items/Components/Signal/WifiComponent.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Barotrauma/BarotraumaShared/SharedSource/Items/Components/Signal/WifiComponent.cs b/Barotrauma/BarotraumaShared/SharedSource/Items/Components/Signal/WifiComponent.cs index f24fec226..72c29ff63 100644 --- a/Barotrauma/BarotraumaShared/SharedSource/Items/Components/Signal/WifiComponent.cs +++ b/Barotrauma/BarotraumaShared/SharedSource/Items/Components/Signal/WifiComponent.cs @@ -58,6 +58,8 @@ namespace Barotrauma.Items.Components set; } + + [Editable, Serialize(false, false, description: "If enabled, any signals received from another chat-linked wifi component are displayed " + "as chat messages in the chatbox of the player holding the item.", alwaysUseInstanceValues: true)] public bool LinkToChat @@ -68,7 +70,7 @@ namespace Barotrauma.Items.Components return GameMain.Lua.game.allowWifiChat; #endif #if CLIENT - return LinkToChat; + return false; #endif } set { }