We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 601ed0d commit 5c289a4Copy full SHA for 5c289a4
Runtime/DevConsoleMono.cs
@@ -1527,9 +1527,9 @@ private void InitBuiltInCommands()
1527
{
1528
// Cache the type
1529
_cacheEnumTypes.Add(enumType);
1530
- if (_commandHistory.Count > MaxCachedEnumTypes)
+ if (_cacheEnumTypes.Count > MaxCachedEnumTypes)
1531
1532
- _commandHistory.RemoveAt(0);
+ _cacheEnumTypes.RemoveAt(0);
1533
}
1534
break;
1535
0 commit comments