(ae643deeb) Added alive checks to a couple of diving gear status effects (don't consume tanks when dead)
This commit is contained in:
@@ -189,7 +189,7 @@ namespace Barotrauma.Items.Components
|
||||
{
|
||||
get { return name; }
|
||||
}
|
||||
|
||||
|
||||
[Editable, Serialize("", true)]
|
||||
public string Msg
|
||||
{
|
||||
@@ -203,12 +203,6 @@ namespace Barotrauma.Items.Components
|
||||
set;
|
||||
}
|
||||
|
||||
public AITarget AITarget
|
||||
{
|
||||
get;
|
||||
private set;
|
||||
}
|
||||
|
||||
public AITarget AITarget
|
||||
{
|
||||
get;
|
||||
@@ -253,7 +247,7 @@ namespace Barotrauma.Items.Components
|
||||
{
|
||||
DebugConsole.ThrowError("Invalid pick key in " + element + "!", e);
|
||||
}
|
||||
|
||||
|
||||
SerializableProperties = SerializableProperty.DeserializeProperties(this, element);
|
||||
ParseMsg();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user