mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-23 04:37:16 +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:
1 parent
bf563e9c6a
commit
08e72bbbdd
6 files changed
+117
-180
No files matched your search
-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