Started refactoring the submarine class in order to make it possible to add multiple submarines (or other movable structures)
This commit is contained in:
@@ -594,7 +594,7 @@ namespace Barotrauma
|
||||
|
||||
CurrentHull = newHull;
|
||||
|
||||
character.Submarine = CurrentHull == null ? null : Submarine.Loaded;
|
||||
character.Submarine = currentHull == null ? null : currentHull.Submarine;
|
||||
|
||||
UpdateCollisionCategories();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user