Skip to content

Commit

Permalink
fix: explosion victory check if marble are in race instead of not exp…
Browse files Browse the repository at this point in the history
…loded
  • Loading branch information
florianvazelle committed Mar 22, 2024
1 parent f2ed8a9 commit 34408fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/main.gd
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ func explosion_victory(_last_marble: Marble) -> bool:
var tmp_marble = null

for marble in _marbles:
if !marble.has_explode() and marble.visible:
if marble.in_race() and marble.visible:
marble_exploded_count += 1
if _last_marble != marble:
tmp_marble = marble
Expand Down

0 comments on commit 34408fd

Please sign in to comment.