Skip to content

Commit

Permalink
Make hazards optional via gameplay menu
Browse files Browse the repository at this point in the history
  • Loading branch information
Vagabond committed Jan 23, 2014
1 parent c228c6c commit e1bb489
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/game/scenes/arena.c
Expand Up @@ -512,7 +512,10 @@ void arena_tick(scene *scene) {
har2->delay = ceil(player1->ctrl->rtt / 2.0f);

if(local->state != ARENA_STATE_ENDING && local->state != ARENA_STATE_STARTING) {
arena_spawn_hazard(scene);
settings *setting = settings_get();
if (setting->gameplay.hazards_on) {
arena_spawn_hazard(scene);
}
}

if (
Expand Down

0 comments on commit e1bb489

Please sign in to comment.