Skip to content

Commit 8af70d0

Browse files
authored
Merge pull request phaserjs#3780 from TadejZupancic/patch-9
disableInteractive
2 parents c6c9b25 + 5859979 commit 8af70d0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/gameobjects/GameObject.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ var GameObject = new Class({
378378
{
379379
if (this.input)
380380
{
381-
this.input.enabled = (this.input.enabled) ? false : true;
381+
this.input.enabled = false;
382382
}
383383

384384
return this;

0 commit comments

Comments
 (0)