From bd1fdd87eed48ba3ffcc413936d6a6a60a429a97 Mon Sep 17 00:00:00 2001 From: Przemysław Grzywacz Date: Sat, 4 May 2013 21:57:58 +0200 Subject: Client-side settings are now available from settings.xml --- src/net/manaserv/generalhandler.cpp | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'src/net/manaserv') diff --git a/src/net/manaserv/generalhandler.cpp b/src/net/manaserv/generalhandler.cpp index c6b2af18..1e39410c 100644 --- a/src/net/manaserv/generalhandler.cpp +++ b/src/net/manaserv/generalhandler.cpp @@ -133,10 +133,6 @@ void GeneralHandler::reload() netToken.clear(); gameServer.clear(); chatServer.clear(); - - Attributes::unload(); - Attributes::load(); - Attributes::informItemDB(); } void GeneralHandler::unload() @@ -154,7 +150,6 @@ void GeneralHandler::unload() delete gameServerConnection; delete chatServerConnection; - Attributes::unload(); finalize(); } @@ -190,11 +185,6 @@ void GeneralHandler::event(Event::Channel channel, game->gameLoading(); } } - else if (event.getType() == Event::LoadingDatabases) - { - Attributes::load(); - Attributes::informItemDB(); - } } else if (channel == Event::GameChannel) { -- cgit v1.2.3-70-g09d2