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

index 51bc5122c6fe2492beb9733fe11e4088ae794476..e4b6d6f7963cc53d94ed8dbd25c9ed875b819018 100644 (file)
@@ -1775,6 +1775,9 @@ void Game::printPlayerScore()
     if (localPlayer->PunchesReceived >= 10)
     {
         cameraNode->detachObject(mCamera);
+        msgBoard->detachFromParent();
+        stepsBoard->detachFromParent();
+        stepsBoard->detachFromParent();
 
         localPlayer->dead = true;
     }