Fixed compile error
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
using Barotrauma.Networking;
|
using Barotrauma.Networking;
|
||||||
using Microsoft.Xna.Framework;
|
using Microsoft.Xna.Framework;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
@@ -69,21 +69,8 @@ namespace Barotrauma.Items.Components
|
|||||||
"as chat messages in the chatbox of the player holding the item.", alwaysUseInstanceValues: true)]
|
"as chat messages in the chatbox of the player holding the item.", alwaysUseInstanceValues: true)]
|
||||||
public bool LinkToChat
|
public bool LinkToChat
|
||||||
{
|
{
|
||||||
#if SERVER
|
|
||||||
get
|
|
||||||
{
|
|
||||||
if(GameMain.LuaCs.Game.allowWifiChat) return true;
|
|
||||||
return linkToChat;
|
|
||||||
}
|
|
||||||
|
|
||||||
set
|
|
||||||
{
|
|
||||||
linkToChat = value;
|
|
||||||
}
|
|
||||||
#else
|
|
||||||
get;
|
get;
|
||||||
set;
|
set;
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
[Editable, Serialize(1.0f, IsPropertySaveable.Yes, description: "How many seconds have to pass between signals for a message to be displayed in the chatbox. " +
|
[Editable, Serialize(1.0f, IsPropertySaveable.Yes, description: "How many seconds have to pass between signals for a message to be displayed in the chatbox. " +
|
||||||
@@ -356,4 +343,4 @@ namespace Barotrauma.Items.Components
|
|||||||
return element;
|
return element;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user