mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-09 22:20:24 +00:00
UCS support decided to not rewrite it for now. Maybe later now that it's easier to work with
This commit is contained in:
-11
@@ -54,9 +54,6 @@ volatile bool RunLoops = true;
|
||||
void CatchSignal(int sig_num) {
|
||||
|
||||
RunLoops = false;
|
||||
|
||||
if(worldserver)
|
||||
worldserver->Disconnect();
|
||||
}
|
||||
|
||||
std::string GetMailPrefix() {
|
||||
@@ -143,8 +140,6 @@ int main() {
|
||||
|
||||
worldserver = new WorldServer;
|
||||
|
||||
worldserver->Connect();
|
||||
|
||||
while(RunLoops) {
|
||||
|
||||
Timer::SetCurrentTime();
|
||||
@@ -154,12 +149,6 @@ int main() {
|
||||
if(ChannelListProcessTimer.Check())
|
||||
ChannelList->Process();
|
||||
|
||||
if (InterserverTimer.Check()) {
|
||||
if (worldserver->TryReconnect() && (!worldserver->Connected()))
|
||||
worldserver->AsyncConnect();
|
||||
}
|
||||
worldserver->Process();
|
||||
|
||||
EQ::EventLoop::Get().Process();
|
||||
|
||||
Sleep(1);
|
||||
|
||||
Reference in New Issue
Block a user