Fixed NotImplementedException when attempting to clone linked submarines

This commit is contained in:
Joonas Rikkonen
2018-09-10 11:40:06 +03:00
parent 8e7cd8e5f3
commit 2b3c0d103b
2 changed files with 7 additions and 5 deletions
@@ -163,10 +163,7 @@ namespace Barotrauma
return (Submarine.RectContains(WorldRect, position));
}
public virtual MapEntity Clone()
{
throw new NotImplementedException();
}
public abstract MapEntity Clone();
public static List<MapEntity> Clone(List<MapEntity> entitiesToClone)
{