Fixed submarine positions not being sent
This commit is contained in:
@@ -17,7 +17,7 @@ namespace Barotrauma
|
|||||||
|
|
||||||
protected AITarget aiTarget;
|
protected AITarget aiTarget;
|
||||||
|
|
||||||
public bool Removed
|
public virtual bool Removed
|
||||||
{
|
{
|
||||||
get;
|
get;
|
||||||
private set;
|
private set;
|
||||||
|
|||||||
@@ -236,6 +236,14 @@ namespace Barotrauma
|
|||||||
return "Barotrauma.Submarine ("+name+")";
|
return "Barotrauma.Submarine ("+name+")";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public override bool Removed
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return !loaded.Contains(this);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
//constructors & generation ----------------------------------------------------
|
//constructors & generation ----------------------------------------------------
|
||||||
|
|
||||||
public Submarine(string filePath, string hash = "", bool tryLoad = true) : base(null)
|
public Submarine(string filePath, string hash = "", bool tryLoad = true) : base(null)
|
||||||
|
|||||||
Reference in New Issue
Block a user