(ef5df81dc) Fixed personal slots not being visible in the sub editor

This commit is contained in:
Joonas Rikkonen
2019-05-16 06:06:24 +03:00
parent 606e1f6560
commit 5c90e26209
13 changed files with 331 additions and 142 deletions
@@ -835,6 +835,7 @@ namespace Barotrauma
//make space for the entity menu
for (int i = 0; i < dummyCharacter.Inventory.SlotPositions.Length; i++)
{
if (CharacterInventory.PersonalSlots.HasFlag(dummyCharacter.Inventory.SlotTypes[i])) { continue; }
if (dummyCharacter.Inventory.SlotPositions[i].Y > GameMain.GraphicsHeight / 2)
{
dummyCharacter.Inventory.SlotPositions[i].Y -= 50 * GUI.Scale;