Limit recipients of party chat messages

Add vendor to gitignore
This commit is contained in:
Sophie
2020-03-09 07:06:05 +00:00
parent 1041cac476
commit 927f6e9419
2 changed files with 7 additions and 4 deletions

View File

@@ -344,10 +344,12 @@ func handleMsgSysCastBinary(s *Session, p mhfpacket.MHFPacket) {
case CHAT_TYPE_LOCAL:
s.stage.BroadcastMHF(resp, s)
case CHAT_TYPE_PARTY:
// Party messages seem to work partially when a party member starts the quest
// In town it is not working yet
// TODO Send to party members only
s.stage.BroadcastMHF(resp, s)
if s.reserveStage != nil {
// Party messages seem to work partially when a party member starts the quest
// In town it is not working yet, the client now sends the chat packets
// however the other member does not accept it.
s.reserveStage.BroadcastMHF(resp, s)
}
}
/*