Skip to content

Conversation

@TadejZupancic
Copy link
Contributor

This PR (delete as applicable)

  • Fixes a bug

Describe the changes below:

this value was accessed inside the functions in forEach, but the value for this was not provided.
I noticed that in some places var _this = this approach is used for that and in some places this is added as the second parameter of forEach. I added this as the second parameter of forEach to fix that. Maybe it would be good to make it the same everywhere.

@photonstorm photonstorm merged commit 4498af7 into phaserjs:v4.0.0 May 23, 2025
@photonstorm
Copy link
Collaborator

👍

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