]> git.jsancho.org Git - lugaru.git/blobdiff - Source/GameTick.cpp
Pass killeveryone maps when friends are alive
[lugaru.git] / Source / GameTick.cpp
index c627e514765cd71dcdff4a7d741f3b501d2f0ea3..dbd6f0e3977541aba323b8ae2e6668b188aecd7f 100644 (file)
@@ -4654,7 +4654,7 @@ void Game::TickOnceAfter()
             }
             alldead = true;
             for (unsigned i = 1; i < Person::players.size(); i++) {
-                if (!Person::players[i]->dead && Person::players[i]->howactive < typedead1) {
+              if (!Person::players[i]->dead && Person::players[i]->howactive < typedead1 && !Person::players[i]->isPlayerFriend()) {
                     alldead = false;
                     break;
                 }