Skip to content

Conversation

samme
Copy link
Contributor

@samme samme commented Jan 26, 2025

This PR

  • Fixes a bug (2)
  1. EmitterOp defaultEmit() always returned undefined, causing particle problems if you gave only an onUpdate callback (Phaser 3.87 doc issue deriving on unexpected visual @ emitters under CANVAS rendering #7016).
  2. If you configured an EmitterOp with onEmit or onUpdate, the op's current value would be incorrect (an object) until the first emit.

@zekeatchan zekeatchan merged commit 8e51a93 into phaserjs:master Feb 5, 2025
@zekeatchan zekeatchan self-assigned this Feb 5, 2025
@zekeatchan
Copy link
Collaborator

Hi @samme. Thanks for submitting this PR. We have merged and pushed it to the master branch. It will be part of the next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants