mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-01-19 12:07:13 +01:00
Fix private message event calling the regular chat message finction instead. Should close #15
This commit is contained in:
parent
26f5c495f5
commit
89bd8a3cd7
@ -552,7 +552,7 @@ void Core::EmitPlayerPrivateMessage(Int32 player_id, Int32 target_player_id, CCS
|
||||
PlayerInst & _player = m_Players.at(player_id);
|
||||
PlayerInst & _receiver = m_Players.at(target_player_id);
|
||||
Emit(_player.mOnMessage,_receiver.mObj, message);
|
||||
Emit(mOnPlayerMessage, _player.mObj, _receiver.mObj, message);
|
||||
Emit(mOnPlayerPrivateMessage, _player.mObj, _receiver.mObj, message);
|
||||
}
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
|
Loading…
x
Reference in New Issue
Block a user