]> git.uio.no Git - private-olgabo.git/commitdiff
sc
authorolgabo <olgabo@ifi.uio.no>
Tue, 23 Oct 2012 19:48:06 +0000 (21:48 +0200)
committerolgabo <olgabo@ifi.uio.no>
Tue, 23 Oct 2012 19:48:06 +0000 (21:48 +0200)
projects/dumbclient/Game.cpp

index e4b6d6f7963cc53d94ed8dbd25c9ed875b819018..0f713d3a2d836df9f10d220bd112587bfeace36d 100644 (file)
@@ -1774,11 +1774,10 @@ void Game::printPlayerScore()
         msgBoard->setCaption("You accomplished the mission, congratulations! :) Press Esc");
     if (localPlayer->PunchesReceived >= 10)
     {
-        cameraNode->detachObject(mCamera);
         msgBoard->detachFromParent();
         stepsBoard->detachFromParent();
         stepsBoard->detachFromParent();
-
+        cameraNode->detachObject(mCamera);
         localPlayer->dead = true;
     }
 }