Skip to content

Commit 009dad2

Browse files
committed
Fixed comparison
1 parent 5022830 commit 009dad2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/gameobjects/rope/Rope.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ var Rope = new Class({
165165
* @type {integer}
166166
* @since 3.23.0
167167
*/
168-
this.tintFill = (texture = '__DEFAULT') ? 2 : 0;
168+
this.tintFill = (texture === '__DEFAULT') ? 2 : 0;
169169

170170
/**
171171
* If the Rope is marked as `dirty` it will automatically recalculate its vertices

0 commit comments

Comments
 (0)