From 93eb598012a144ff22ba203c9240f857eebdb00c Mon Sep 17 00:00:00 2001 From: Pontus Fransson Date: Fri, 21 Feb 2014 10:48:09 +0100 Subject: [PATCH] Fixed dynamic objects not being updated on startup. --- Code/Game/GameServer/Implementation/GameSession_General.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Code/Game/GameServer/Implementation/GameSession_General.cpp b/Code/Game/GameServer/Implementation/GameSession_General.cpp index 30eabed2..a201167d 100644 --- a/Code/Game/GameServer/Implementation/GameSession_General.cpp +++ b/Code/Game/GameServer/Implementation/GameSession_General.cpp @@ -234,7 +234,7 @@ bool GameSession::Join(gClient gameClient) { //Protocol_ObjectPosition p(movedObject->GetPosition(), id); Protocol_ObjectPositionRotation p(objects[i]->GetPosition(), objects[i]->GetRotation(), objects[i]->GetID()); - GameSession::gameSession->Send(p.GetProtocol()); + gameClient->GetClient()->Send(p.GetProtocol()); } }