Fix some strange bug

This commit is contained in:
MX 2023-03-09 23:19:08 +03:00
parent 68fed0e03d
commit a48adfbaf7
No known key found for this signature in database
GPG key ID: 7CCC66B7DBDD1C83

View file

@ -496,7 +496,9 @@ static void heap_defense_input_callback(InputEvent* input_event, FuriMessageQueu
static void heap_defense_timer_callback(FuriMessageQueue* event_queue) {
furi_assert(event_queue);
GameEvent event = {.type = EventGameTick, .input = {0}};
GameEvent event;
event.type = EventGameTick;
event.input = (InputEvent){0};
furi_message_queue_put(event_queue, &event, 0);
}