Add joining player to printed player list
authorsapier <Sapier at GMX dot net>
Tue, 20 May 2014 16:09:32 +0000 (18:09 +0200)
committersapier <Sapier at GMX dot net>
Tue, 20 May 2014 16:09:32 +0000 (18:09 +0200)
src/server.cpp

index d29512d87bb49e832fd7ae743878aefc9fbc9cab..612192d79ab111d6d0c54ff2444db6b3193dce27 100644 (file)
@@ -1291,7 +1291,7 @@ PlayerSAO* Server::StageTwoClientInit(u16 peer_id)
                        actionstream << *i << " ";
                }
 
-               actionstream<<std::endl;
+               actionstream << player->getName() <<std::endl;
        }
        return playersao;
 }