Fix #2722 "Voting endmatch during intermission will skip the next map and go into...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / world.qc
index ed51bc8082cbb3510d6a1494af4806e37dfdcdab..bd713ecd09cea6562c5f41e6eef7b06455eb7641 100644 (file)
@@ -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 != "")