Skip to content

Commit

Permalink
Merge pull request #4 from jamisonderek/jamisonderek/team-color
Browse files Browse the repository at this point in the history
  • Loading branch information
RocketGod-git authored Aug 25, 2024
2 parents fb3160c + 85539e0 commit 026c92b
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions laser_tag_app.c
Original file line number Diff line number Diff line change
Expand Up @@ -228,9 +228,16 @@ void laser_tag_app_fire(LaserTagApp* app) {

notification_message(app->notifications, &sequence_short_beep);

notification_message(app->notifications, &sequence_blink_blue_100);
if(game_state_get_team(app->game_state) == TeamBlue) {
notification_message(app->notifications, &sequence_blink_blue_100);

FURI_LOG_I(TAG, "Notifying user with blink blue and short beep");
} else {
notification_message(app->notifications, &sequence_blink_red_100);

FURI_LOG_I(TAG, "Notifying user with blink red and short beep");
}

FURI_LOG_I(TAG, "Notifying user with blink blue and short beep");
app->need_redraw = true;
}

Expand Down

0 comments on commit 026c92b

Please sign in to comment.