This commit is contained in:
in0finite 2019-07-11 20:40:04 +02:00
parent cec406fc0a
commit d6ca3a5331

View file

@ -353,12 +353,12 @@ namespace SanAndreasUnity.UI
void TrimExcessLogs()
{
if (!restrictLogCount)
if (!this.restrictLogCount)
{
return;
}
var amountToRemove = m_logs.Count - maxLogCount;
int amountToRemove = m_logs.Count - this.maxLogCount;
if (amountToRemove <= 0)
{