lib/game_machine/handlers/request.rb in game_machine-0.0.10 vs lib/game_machine/handlers/request.rb in game_machine-0.0.11

- old
+ new

@@ -59,9 +59,13 @@ MessageLib::ClientManagerUnregister.new.set_register_type('client'). set_name(client_id) ).set_client_connection(message.client_connection) entity.set_player(message.player) ClientManager.find.tell(entity) + + ## Just for now, need to do this correctly by registering with the client manager + chat_destroy = MessageLib::ChatDestroy.new.set_player_id(message.player.id) + GameSystems::ChatManager.find.tell(chat_destroy) end def game_handler @game_handler ||= Handlers::Game.find end