Hull, Gap & WayPoint cloning, equipped items are removed when switching from character mode to wiring or mode or vice versa

This commit is contained in:
Regalis
2016-11-12 15:44:02 +02:00
parent 0aa4b7a93d
commit d403b38440
5 changed files with 24 additions and 4 deletions

View File

@@ -298,7 +298,7 @@ namespace Barotrauma
private void CreateDummyCharacter()
{
if (dummyCharacter != null) dummyCharacter.Remove();
if (dummyCharacter != null) RemoveDummyCharacter();
dummyCharacter = Character.Create(Character.HumanConfigFile, Vector2.Zero);
@@ -588,7 +588,7 @@ namespace Barotrauma
characterMode = !characterMode;
//button.Color = (characterMode) ? Color.Gold : Color.White;
wiringMode = false;
wiringMode = false;
if (characterMode)
{