v1.0.20.1 (summer patch)

This commit is contained in:
itchyOwl
2023-06-15 16:46:54 +03:00
parent 6acac1d143
commit 83de72e3d2
209 changed files with 4497 additions and 2488 deletions
@@ -129,7 +129,7 @@ namespace Barotrauma.Networking
listBox.UpdateScrollBarSize();
}
#endif
if (unsavedLines.Count() >= LinesPerFile)
if (unsavedLines.Count >= LinesPerFile)
{
Save();
unsavedLines.Clear();
@@ -143,7 +143,7 @@ namespace Barotrauma.Networking
#if CLIENT
while (listBox != null && listBox.Content.CountChildren > LinesPerFile)
{
listBox.RemoveChild(reverseOrder ? listBox.Content.Children.First() : listBox.Content.Children.Last());
listBox.Content.RemoveChild(!reverseOrder ? listBox.Content.Children.First() : listBox.Content.Children.Last());
}
#endif
}