Requested cleanups

This commit is contained in:
Areloch 2021-09-01 17:57:21 -05:00
parent 25a32cba2a
commit e8a49ef4ca
5 changed files with 16 additions and 14 deletions

View file

@ -1059,7 +1059,7 @@ function EditorDropTypeMenu::onSelectItem(%this, %id, %text)
// a drop type is selected in the menu.
EWorldEditor.dropType = getField(%this.item[%id], 2);
for(%i=0; %i < %this.getItemCount() + 1; %i++)
for(%i=0; %i < %this.getItemCount(); %i++)
{
%this.checkItem(%i, false);
}