From: terencehill Date: Tue, 13 Sep 2016 10:40:04 +0000 (+0200) Subject: Assault: Don't reset vehicles twice when a round ends (they are reset in ReadyRestart... X-Git-Tag: xonotic-v0.8.2~592 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=a7011992ab975bd74e1417cc8184fe1c77645a50;p=xonotic%2Fxonotic-data.pk3dir.git Assault: Don't reset vehicles twice when a round ends (they are reset in ReadyRestart_force();) --- diff --git a/qcsrc/server/mutators/mutator/gamemode_assault.qc b/qcsrc/server/mutators/mutator/gamemode_assault.qc index 10a8f644f..a91af90f0 100644 --- a/qcsrc/server/mutators/mutator/gamemode_assault.qc +++ b/qcsrc/server/mutators/mutator/gamemode_assault.qc @@ -185,15 +185,6 @@ void assault_new_round(entity this) { //bprint("ASSAULT: new round\n"); - // Eject players from vehicles - FOREACH_CLIENT(IS_PLAYER(it) && it.vehicle, vehicles_exit(it.vehicle, VHEF_RELEASE)); - - IL_EACH(g_vehicles, true, - { - vehicles_clearreturn(it); - vehicles_spawn(it); - }); - // up round counter this.winning = this.winning + 1;