From: z411 Date: Fri, 15 Oct 2021 22:51:15 +0000 (-0300) Subject: RJZ: Fix bug where shards are reset when someone goes to spect X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=889097360f7f8f99962be718e07df01f446da5ea;p=xonotic%2Fxonotic-data.pk3dir.git RJZ: Fix bug where shards are reset when someone goes to spect --- diff --git a/qcsrc/server/client.qc b/qcsrc/server/client.qc index d3a27116f..2902df3f3 100644 --- a/qcsrc/server/client.qc +++ b/qcsrc/server/client.qc @@ -409,10 +409,8 @@ void PutObserverInServer(entity this, bool is_forced) CS(this).just_joined = false; // for RJZ - if (autocvar_g_count_shards) { - total_shards = 0; + if (autocvar_g_count_shards) send_TotalShards(this); - } } int player_getspecies(entity this)