Skip to content

Commit

Permalink
Revert "menu row selection sanity check" in favor of #922
Browse files Browse the repository at this point in the history
This reverts commit 12c54f9.
  • Loading branch information
AmyrAhmady committed Jun 28, 2024
1 parent 7460c50 commit c999b86
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions Server/Components/Menus/menu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,6 @@ class MenusComponent final : public IMenusComponent, public MenuEventHandler, pu
}
}

if (onPlayerSelectedMenuRow.MenuRow < 0 || onPlayerSelectedMenuRow.MenuRow > 12)
{
return false;
}

self.eventDispatcher.dispatch(
&MenuEventHandler::onPlayerSelectedMenuRow,
peer,
Expand Down

0 comments on commit c999b86

Please sign in to comment.