fix(JoinMessage): Ignore self
This commit is contained in:
parent
3ee4f41788
commit
6928f4e5b8
@ -5,6 +5,8 @@ namespace big
|
|||||||
{
|
{
|
||||||
void features::join_message(Player player)
|
void features::join_message(Player player)
|
||||||
{
|
{
|
||||||
|
if (player == g_playerId) return;
|
||||||
|
|
||||||
bool bJoinMessage = g_settings.options["join_message"].get<bool>();
|
bool bJoinMessage = g_settings.options["join_message"].get<bool>();
|
||||||
|
|
||||||
if (bJoinMessage)
|
if (bJoinMessage)
|
||||||
|
Reference in New Issue
Block a user