Revert "#6816 Phaser.GameObjects.Components.FX#add fix null pipeline pointer"

This reverts commit 389e2af60f.
This commit is contained in:
Zeke Chan 2024-07-23 16:51:45 +08:00
parent 389e2af60f
commit 54e555d56a

View file

@ -409,10 +409,7 @@ var FX = new Class({
pipeline = pipeline.pop();
}
if (pipeline)
{
pipeline.controller = fx;
}
pipeline.controller = fx;
return fx;
}