From: Mario Date: Mon, 19 Oct 2020 03:11:13 +0000 (+1000) Subject: Show the scoreboard when the survival round ends so players can see who the hunters... X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=6f92b5cd8b77dc8b44e23a81e4c2f43f545a465f;p=xonotic%2Fxonotic-data.pk3dir.git Show the scoreboard when the survival round ends so players can see who the hunters were easily --- diff --git a/qcsrc/common/gamemodes/gamemode/survival/cl_survival.qc b/qcsrc/common/gamemodes/gamemode/survival/cl_survival.qc index cde9da87e..83893e69d 100644 --- a/qcsrc/common/gamemodes/gamemode/survival/cl_survival.qc +++ b/qcsrc/common/gamemodes/gamemode/survival/cl_survival.qc @@ -74,3 +74,9 @@ MUTATOR_HOOKFUNCTION(cl_sv, ForcePlayercolors_Skip, CBC_ORDER_LAST) player.colormap = 1024 + plcolor; return true; } + +MUTATOR_HOOKFUNCTION(cl_sv, DrawScoreboard_Force) +{ + // show the scoreboard when the round ends, so players can see who the hunter was + return STAT(GAME_STOPPED); +}