diff --git a/src/game/state/level/event.c b/src/game/state/level/event.c index 62c89b9..e31de8f 100644 --- a/src/game/state/level/event.c +++ b/src/game/state/level/event.c @@ -151,6 +151,8 @@ _level_event_sticky_traps_set(Level* self) smokePosition ); } + + sound_play(&self->ecs->resources->sounds[SOUND_APPEAR]); } void @@ -408,7 +410,7 @@ _level_event_set(Level* self) _level_event_timer_init(self); - self->nextEvent = RANDOM_S32(LEVEL_EVENT_NONE, LEVEL_EVENT_COUNT - 1); + self->nextEvent = LEVEL_EVENT_STICKY_TRAPS;//RANDOM_S32(LEVEL_EVENT_NONE, LEVEL_EVENT_COUNT - 1); } void @@ -422,7 +424,7 @@ level_event_init(Level* self) eventTimer->component.isDisabled = true; - self->nextEvent = RANDOM_S32(LEVEL_EVENT_NONE, LEVEL_EVENT_COUNT - 1); + self->nextEvent = LEVEL_EVENT_STICKY_TRAPS; //RANDOM_S32(LEVEL_EVENT_NONE, LEVEL_EVENT_COUNT - 1); } void diff --git a/src/game/state/state.h b/src/game/state/state.h index 578c3be..73b6c96 100644 --- a/src/game/state/state.h +++ b/src/game/state/state.h @@ -371,7 +371,7 @@ static const LevelData LEVEL_DATA_DEFAULT[LEVEL_COUNT] = .time = -1 }, { - .status = LEVEL_STATUS_LOCKED, + .status = LEVEL_STATUS_UNLOCKED, .score = -1, .time = -1 },