mirror of
https://github.com/LCEMP/LCEMP.git
synced 2026-05-27 03:54:30 +00:00
change define name
This commit is contained in:
@@ -130,14 +130,14 @@ void PlayerConnection::disconnect(DisconnectPacket::eDisconnectReason reason)
|
||||
if(getWasKicked())
|
||||
{
|
||||
server->getPlayers()->broadcastAll( shared_ptr<ChatPacket>( new ChatPacket(player->name, ChatPacket::e_ChatPlayerKickedFromGame) ) );
|
||||
#ifdef _DEDICATED_SERVER
|
||||
#ifdef WITH_SERVER_CODE
|
||||
app.DebugPrintf("%ls was kicked from the game", player->name.c_str());
|
||||
#endif
|
||||
}
|
||||
else
|
||||
{
|
||||
server->getPlayers()->broadcastAll( shared_ptr<ChatPacket>( new ChatPacket(player->name, ChatPacket::e_ChatPlayerLeftGame) ) );
|
||||
#ifdef _DEDICATED_SERVER
|
||||
#ifdef WITH_SERVER_CODE
|
||||
app.DebugPrintf("%ls left the game", player->name.c_str());
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user