CharacterInventory is moved back to the bottom left corner if selecting a character whose inventory has been moved

This commit is contained in:
Regalis
2016-12-10 13:55:29 +02:00
parent 3eec463f5e
commit 983c54f4b5
@@ -138,6 +138,7 @@ namespace Barotrauma
{
if (character.Inventory != null && !character.LockHands && character.Stun >= -0.1f)
{
character.Inventory.DrawOffset = Vector2.Zero;
character.Inventory.DrawOwn(spriteBatch);
}