summaryrefslogtreecommitdiffhomepage
path: root/Stars45/NetGameClient.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Stars45/NetGameClient.cpp')
-rw-r--r--Stars45/NetGameClient.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Stars45/NetGameClient.cpp b/Stars45/NetGameClient.cpp
index 4d9d5ae..89e1ff0 100644
--- a/Stars45/NetGameClient.cpp
+++ b/Stars45/NetGameClient.cpp
@@ -936,7 +936,7 @@ NetGameClient::DoSelfDestruct(NetMsg* msg)
void
NetGameClient::Send()
{
- DWORD time = Game::GetInstance()->GameTime();
+ DWORD time = Game::GetInstance()->GetClock()->GameTime();
// don't flood the network...
if (time - last_send_time < MIN_NET_FRAME)