]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commit
Survival and CA: when the game ends put players who joined after round start back...
authorterencehill <piuntn@gmail.com>
Mon, 1 Apr 2024 00:23:20 +0000 (02:23 +0200)
committerterencehill <piuntn@gmail.com>
Mon, 1 Apr 2024 10:09:38 +0000 (12:09 +0200)
commitd419d31e4b9cef800f43935009c15afb33a97b28
tree62b42b6ba8c24c7cba01d7ffcacb2ef6f3fe8198
parentd0f3b9133f0f2b007ca5c46f9ae50e70a080d353
Survival and CA: when the game ends put players who joined after round start back to spectators. CA: when the game ends put players who switched team during a round back to previous team.

Forced team switch works even if player would be moved to a larger team and if g_balance_teams and g_balance_teams_prevent_imbalance are enabled
qcsrc/common/gamemodes/gamemode/clanarena/sv_clanarena.qc
qcsrc/common/gamemodes/gamemode/survival/sv_survival.qc
qcsrc/server/mutators/events.qh
qcsrc/server/teamplay.qc
qcsrc/server/world.qc
qcsrc/server/world.qh