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