Skip to content

Commit

Permalink
fix: Update platformEffector.js for tag methods (#598)
Browse files Browse the repository at this point in the history
  • Loading branch information
dragoncoder047 authored Feb 9, 2025
1 parent 0139c81 commit 26b77d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/platformEffector.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ onKeyDown("right", () => {
// Fall through when down is pressed
onKeyDown("down", () => {
const p = player.curPlatform();
if (p != null && p.is("platformEffector")) {
if (p != null && p.has("platformEffector")) {
p.platformIgnore.add(player);
}
});

0 comments on commit 26b77d5

Please sign in to comment.