mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-08-08 11:44:11 +00:00
Players no longer respawn if they were alive at the end of Battle of Nimbus Station (#1017)
This commit is contained in:
@@ -430,7 +430,7 @@ void BaseWavesServer::SpawnWave(Entity* self) {
|
||||
|
||||
for (const auto& playerID : state.players) {
|
||||
auto* player = EntityManager::Instance()->GetEntity(playerID);
|
||||
if (player != nullptr) {
|
||||
if (player && player->GetIsDead()) {
|
||||
player->Resurrect();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user