Skip to content

Commit

Permalink
fix: fix ModalForm bug
Browse files Browse the repository at this point in the history
  • Loading branch information
dreamguxiang committed Jan 3, 2025
1 parent c052a0e commit c93ab9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src-server/ll/core/form/FormHandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ void ModalFormHandler::handle(
}
return;
}
bool selected = data.has_value();
bool selected = data->asBool("false");
if (mCallback) {
mCallback(player, (ll::form::ModalFormSelectedButton)selected, cancelReason);
}
Expand Down

0 comments on commit c93ab9a

Please sign in to comment.