From 4c1205f922d81318380e30fe22dc13b30c6aca47 Mon Sep 17 00:00:00 2001 From: DESTROYGIRL <170364626+DESTROYGIRL@users.noreply.github.com> Date: Sun, 5 Apr 2026 19:53:32 +0100 Subject: [PATCH] initial --- src/game/server/neo/neo_spawn_manager.cpp | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/game/server/neo/neo_spawn_manager.cpp b/src/game/server/neo/neo_spawn_manager.cpp index 39bd00c80..521fa5777 100644 --- a/src/game/server/neo/neo_spawn_manager.cpp +++ b/src/game/server/neo/neo_spawn_manager.cpp @@ -83,8 +83,16 @@ namespace NeoSpawnManager return false; } - if (team != spawn.handle.Get()->GetOwningTeam()) + const int spawnTeam = spawn.handle.Get()->GetOwningTeam(); + if (spawnTeam == TEAM_ANY) + { + if (team <= LAST_SHARED_TEAM) + return false; + } + else if (team != spawnTeam) + { return false; + } // We know this spawn is valid and belongs to our team. // Save it as backup, just in case we can't find a good fresh spawn.