Skip to content
This repository has been archived by the owner on Mar 6, 2024. It is now read-only.

Commit

Permalink
feat: tree sign on next levels (#152)
Browse files Browse the repository at this point in the history
  • Loading branch information
erickzanardo authored Nov 13, 2023
1 parent 0aff37b commit 9b222e2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/game/dash_run_game.dart
Original file line number Diff line number Diff line change
Expand Up @@ -290,11 +290,15 @@ class DashRunGame extends LeapGame
tiledMapPath: nextSection,
);

await _addSpawners();
if (isFirstSection) {
_addTreeHouseSign();
}

if (isLastSection || isFirstSection) {
_addTreeHouseFrontLayer();
}

await _addSpawners();
}

@override
Expand Down

0 comments on commit 9b222e2

Please sign in to comment.