Skip to content

Commit

Permalink
Merge pull request #8 from Psycrow101/master
Browse files Browse the repository at this point in the history
Fixed invalid room when exiting menu
  • Loading branch information
Mia2904 authored Aug 21, 2024
2 parents 19c3c20 + 7165cd8 commit 325235e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bomberman_mod.sma
Original file line number Diff line number Diff line change
Expand Up @@ -979,7 +979,7 @@ public menu_rooms(id, menu, item)
{
menu_destroy(menu);

if (!is_user_connected(id))
if (item == MENU_EXIT || !is_user_connected(id))
return PLUGIN_HANDLED;

if (item >= 8)
Expand Down

0 comments on commit 325235e

Please sign in to comment.