We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents fb3160c + 85539e0 commit 026c92bCopy full SHA for 026c92b
laser_tag_app.c
@@ -228,9 +228,16 @@ void laser_tag_app_fire(LaserTagApp* app) {
228
229
notification_message(app->notifications, &sequence_short_beep);
230
231
- notification_message(app->notifications, &sequence_blink_blue_100);
+ if(game_state_get_team(app->game_state) == TeamBlue) {
232
+ notification_message(app->notifications, &sequence_blink_blue_100);
233
+
234
+ FURI_LOG_I(TAG, "Notifying user with blink blue and short beep");
235
+ } else {
236
+ notification_message(app->notifications, &sequence_blink_red_100);
237
238
+ FURI_LOG_I(TAG, "Notifying user with blink red and short beep");
239
+ }
240
- FURI_LOG_I(TAG, "Notifying user with blink blue and short beep");
241
app->need_redraw = true;
242
}
243
0 commit comments