summaryrefslogtreecommitdiffhomepage
path: root/Stars45/NetGameServer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Stars45/NetGameServer.cpp')
-rw-r--r--Stars45/NetGameServer.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/Stars45/NetGameServer.cpp b/Stars45/NetGameServer.cpp
index fe53515..9170a46 100644
--- a/Stars45/NetGameServer.cpp
+++ b/Stars45/NetGameServer.cpp
@@ -19,7 +19,6 @@
#include "NetUser.h"
#include "NetMsg.h"
#include "NetData.h"
-#include "StarServer.h"
#include "Ship.h"
#include "ShipDesign.h"
#include "Shield.h"
@@ -345,9 +344,9 @@ NetGameServer::DoJoinRequest(NetMsg* msg)
}
if (unpause) {
- StarServer* s = StarServer::GetInstance();
- if (s)
- s->Pause(false);
+ auto game = Game::GetInstance();
+ if (game)
+ game->Pause(false);
}
}
}