Skip to content

Commit ff7dd65

Browse files
committed
jshint fixes.
1 parent 770ced8 commit ff7dd65

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

src/core/PluginManager.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -159,10 +159,7 @@ Phaser.PluginManager.prototype = {
159159

160160
while (this._i--)
161161
{
162-
if (this.plugins[this._i] === plugin)
163-
{
164-
plugin.destroy();
165-
}
162+
this.plugins[this._i].destroy();
166163
}
167164

168165
this.plugins.length = 0;

0 commit comments

Comments
 (0)