X-Git-Url: https://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fserver%2Fg_world.qc;h=b761e97c7696a764d2a3fde35b4341089bc5d653;hp=053ed5124b134adc2d4d1837bef9b117bf1d4eb9;hb=4c1fcf7b3bdaee8fd10d48d2ac5b21c3a9371de1;hpb=8c1387ec331cf65c72e7f7f8ee8a10c716d7e41e diff --git a/qcsrc/server/g_world.qc b/qcsrc/server/g_world.qc index 053ed5124b..b761e97c76 100644 --- a/qcsrc/server/g_world.qc +++ b/qcsrc/server/g_world.qc @@ -440,6 +440,8 @@ void spawnfunc_worldspawn (void) compressShortVector_init(); + allowed_to_spawn = TRUE; + local entity head; head = nextent(world); maxclients = 0; @@ -642,6 +644,11 @@ void spawnfunc_worldspawn (void) addstat(STAT_NEX_CHARGE, AS_FLOAT, nex_charge); + if(g_ca) + { + addstat(STAT_REDALIVE, AS_INT, redalive_stat); + addstat(STAT_BLUEALIVE, AS_INT, bluealive_stat); + } // g_movementspeed hack addstat(STAT_MOVEVARS_AIRSPEEDLIMIT_NONQW, AS_FLOAT, stat_sv_airspeedlimit_nonqw); addstat(STAT_MOVEVARS_AIRACCEL_QW, AS_FLOAT, stat_sv_airaccel_qw);