From be23c28a760a0e997e5940ac369d87c127be4e24 Mon Sep 17 00:00:00 2001 From: maxsupermanhd Date: Thu, 23 May 2024 20:26:28 +0300 Subject: [PATCH] fix ban button callback --- src/multiint.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/multiint.cpp b/src/multiint.cpp index 238a8b0e818..c9112df5cda 100644 --- a/src/multiint.cpp +++ b/src/multiint.cpp @@ -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)