diff options
Diffstat (limited to 'src/game/server/hooks.cpp')
| -rw-r--r-- | src/game/server/hooks.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/game/server/hooks.cpp b/src/game/server/hooks.cpp index b3425694..d8e6c9bb 100644 --- a/src/game/server/hooks.cpp +++ b/src/game/server/hooks.cpp @@ -281,15 +281,6 @@ void mods_message(int msgtype, int client_id) if(msgtype == NETMSGTYPE_CL_STARTINFO) { - // a client that connected! - - // send all info to this client - for(int i = 0; i < MAX_CLIENTS; i++) - { - if(game.players[i]) - game.send_info(i, client_id); - } - // send tuning parameters to client send_tuning_params(client_id); @@ -306,8 +297,6 @@ void mods_message(int msgtype, int client_id) m.pack(MSGFLAG_VITAL|MSGFLAG_FLUSH); server_send_msg(client_id); } - - game.send_info(client_id, -1); } else if (msgtype == NETMSGTYPE_CL_EMOTICON) { |