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 00909d0 commit d421f89
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 @@ -57,11 +57,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 d421f89

Please sign in to comment.