Skip to content

Commit 9d19536

Browse files
authored
Merge pull request #11 from iliazeus/dolphin-deed-game-win
Sokoban: make each level completion a dolphin_deed()
2 parents b5402be + 8d6c66b commit 9d19536

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sokoban/scripts/scene_game.c

+2
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
#include "wave/files/file_lines_reader.h"
1212
#include "wave/exception_manager.h"
1313
#include "racso_sokoban_icons.h"
14+
#include <dolphin/dolphin.h>
1415
#include <gui/gui.h>
1516
#include <furi.h>
1617
#include <string.h>
@@ -586,6 +587,7 @@ void game_handle_input(InputKey key, InputType type, void* context)
586587
{
587588
FURI_LOG_D("GAME", "Level completed in %d pushes", gameState->pushesCount);
588589

590+
dolphin_deed(DolphinDeedPluginGameWin);
589591
AppGameplayState* gameplayState = app->gameplay;
590592
LevelsDatabase* database = app->database;
591593

0 commit comments

Comments
 (0)