mirror of
https://github.com/photonstorm/phaser
synced 2024-11-10 07:04:31 +00:00
#6816 Phaser.GameObjects.Components.FX#add fix null pipeline pointer
This commit is contained in:
parent
6c02206a90
commit
389e2af60f
1 changed files with 4 additions and 1 deletions
|
@ -409,7 +409,10 @@ var FX = new Class({
|
|||
pipeline = pipeline.pop();
|
||||
}
|
||||
|
||||
pipeline.controller = fx;
|
||||
if (pipeline)
|
||||
{
|
||||
pipeline.controller = fx;
|
||||
}
|
||||
|
||||
return fx;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue