Skip to content

Commit

Permalink
fix ban button callback
Browse files Browse the repository at this point in the history
  • Loading branch information
maxsupermanhd authored and KJeff01 committed May 23, 2024
1 parent 67afa9a commit be23c28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/multiint.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2325,7 +2325,7 @@ void WzMultiplayerOptionsTitleUI::openTeamChooser(uint32_t player)
const int imgheight_ban = iV_GetImageHeight(FrontImages, IMAGE_NOJOIN_FULL);
kickImageX = kickImageX - imgwidth - 4;
addMultiButWithClickHandler(psInlineChooserForm, MULTIOP_TEAMCHOOSER_BAN, kickImageX, 8, imgwidth_ban, imgheight_ban,
("Ban player"), IMAGE_NOJOIN_FULL, IMAGE_NOJOIN_FULL, IMAGE_NOJOIN_FULL, onClickHandler);
("Ban player"), IMAGE_NOJOIN_FULL, IMAGE_NOJOIN_FULL, IMAGE_NOJOIN_FULL, banOnClickHandler);
}

if (canChangeSpectatorStatus)
Expand Down

0 comments on commit be23c28

Please sign in to comment.