From: terencehill Date: Thu, 21 Jul 2022 23:35:05 +0000 (+0200) Subject: Fix #2722 "Voting endmatch during intermission will skip the next map and go into... X-Git-Tag: xonotic-v0.8.6~411 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=22f4e7369ad11646609c6420cba17d452e652c4b;p=xonotic%2Fxonotic-data.pk3dir.git Fix #2722 "Voting endmatch during intermission will skip the next map and go into a random map" --- diff --git a/qcsrc/server/world.qc b/qcsrc/server/world.qc index ed51bc808..bd713ecd0 100644 --- a/qcsrc/server/world.qc +++ b/qcsrc/server/world.qc @@ -679,6 +679,7 @@ void InitGameplayMode() bool world_already_spawned; spawnfunc(worldspawn) { + cvar_set("_endmatch", "0"); server_is_dedicated = boolean(stof(cvar_defstring("is_dedicated"))); if (autocvar_sv_termsofservice_url && autocvar_sv_termsofservice_url != "")