Skip to content

Commit c999b86

Browse files
committed
Revert "menu row selection sanity check" in favor of #922
This reverts commit 12c54f9.
1 parent 7460c50 commit c999b86

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

Server/Components/Menus/menu.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,6 @@ class MenusComponent final : public IMenusComponent, public MenuEventHandler, pu
5050
}
5151
}
5252

53-
if (onPlayerSelectedMenuRow.MenuRow < 0 || onPlayerSelectedMenuRow.MenuRow > 12)
54-
{
55-
return false;
56-
}
57-
5853
self.eventDispatcher.dispatch(
5954
&MenuEventHandler::onPlayerSelectedMenuRow,
6055
peer,

0 commit comments

Comments
 (0)