(5c867d67d) Added a couple of missing lines to EnglishVanilla

This commit is contained in:
Joonas Rikkonen
2019-05-16 05:59:21 +03:00
parent 9ae25de749
commit 018f20e0f0
16 changed files with 215 additions and 263 deletions
@@ -321,7 +321,7 @@ namespace Barotrauma.Items.Components
int spacing = 5;
int slotsPerRow = Math.Min(availableAmmo.Count, 6);
int totalWidth = slotSize.X * slotsPerRow + spacing * (slotsPerRow - 1);
Point invSlotPos = new Point(GameMain.GraphicsWidth / 2 - totalWidth / 2, (int)(60 * GUI.Scale));
Point invSlotPos = new Point(GameMain.GraphicsWidth / 2 - totalWidth / 2, 60);
for (int i = 0; i < availableAmmo.Count; i++)
{
// TODO: Optimize? Creates multiple new classes per frame?