Skip to content

Commit

Permalink
rewrite CastBinary payload handling
Browse files Browse the repository at this point in the history
  • Loading branch information
sekaiwish committed Jan 6, 2024
1 parent f73bdd7 commit c8e2138
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/channelserver/handlers_cast_binary.go
Original file line number Diff line number Diff line change
Expand Up @@ -439,8 +439,8 @@ func handleMsgSysCastBinary(s *Session, p mhfpacket.MHFPacket) {
case BroadcastTypeWorld:
s.server.WorldcastMHF(resp, s, nil)
case BroadcastTypeStage:
if isDiceCommand {
s.stage.BroadcastMHF(resp, nil) // send dice result back to caller
if returnToSender {
s.stage.BroadcastMHF(resp, nil)
} else {
s.stage.BroadcastMHF(resp, s)
}
Expand Down

0 comments on commit c8e2138

Please sign in to comment.