fix(JoinMessage): Ignore self

This commit is contained in:
Yimura 2020-12-29 16:19:02 +01:00
parent 3ee4f41788
commit 6928f4e5b8
No known key found for this signature in database
GPG Key ID: 54EFAD29393A6E78

View File

@ -5,6 +5,8 @@ namespace big
{
void features::join_message(Player player)
{
if (player == g_playerId) return;
bool bJoinMessage = g_settings.options["join_message"].get<bool>();
if (bJoinMessage)