Skip to content

Commit

Permalink
moab bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
callanb authored Mar 18, 2021
1 parent 1922d3c commit ef043c3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions maps/mp/gametypes/infected.gsc
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ setupinfected(){
level.loadout["tactical"] = randomelement(strtok(getdvarstringdefault("infected_tactical", "flash_grenade_mp"), ","));
level.allowtac = getdvarintdefault("infected_allowtac", 1);
level.allowtomo = getdvarintdefault("infected_allowtomo", 1);
level.devmode = getdvarintdefault("infected_devmode", 0);
level.devmode = getdvarintdefault("infected_devmode", 1);
level.minplayers = getdvarintdefault("infected_minplayers", 2);
level.moabvision = getdvarstringdefault("infected_moabvision", "tvguided_sp");
level.infectedtable = [];
Expand Down Expand Up @@ -163,6 +163,7 @@ infectfirst(){

detonatemoab(detonator){
level endon("game_ended");
if(level.moabstarted == 1) return;
level notify("stop_countdown");
level.moabstarted = 1;
level.activecountdown = 1;
Expand Down Expand Up @@ -453,4 +454,4 @@ devmode(){
break;
}
}
}
}

0 comments on commit ef043c3

Please sign in to comment.