Dolphin deeds done in loader, exclude games/media

This commit is contained in:
Willy-JL
2023-08-03 23:19:23 +02:00
parent 21eeb53960
commit 09533b36e0
41 changed files with 8 additions and 112 deletions

View File

@@ -231,8 +231,6 @@ static void tick(PluginState* const plugin_state) {
free(z);
plugin_state->zombies[i] = NULL;
plugin_state->score++;
//if(plugin_state->score % 15 == 0) dolphin_deed(getRandomDeed());
//}
} else if(z->position.x <= WALL_X && z->position.x > 0) { // zombie got to the wall
plugin_state->zombies_count -= 1;
free(z);
@@ -313,9 +311,6 @@ int32_t zombiez_game_app(void* p) {
Gui* gui = furi_record_open(RECORD_GUI);
gui_add_view_port(gui, view_port, GuiLayerFullscreen);
// Call dolphin deed on game start
// dolphin_deed(DolphinDeedPluginGameStart);
PluginEvent event;
bool isRunning = true;
while(isRunning) {