From 60749486f978b8220b707541cf478fc87d8d0b36 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sun, 25 Jan 2009 17:58:12 +0000 Subject: fix dedicated server chat messages --- src/core/gameserver.cc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/core') diff --git a/src/core/gameserver.cc b/src/core/gameserver.cc index f7838a4..fc7a814 100644 --- a/src/core/gameserver.cc +++ b/src/core/gameserver.cc @@ -324,6 +324,11 @@ void GameServer::broadcast(const Message::Channel channel, const std::string tex player->message(channel, text); } } + + // console is not in the player list + if (Cvar::sv_dedicated->value()) { + localplayer()->message(channel, text); + } } // broadcast a sound event to all players -- cgit v1.2.3