controller not config

This commit is contained in:
Richard Davey 2023-02-17 01:10:36 +00:00
parent a2231dddcd
commit 98c2fed09a

View file

@ -108,11 +108,11 @@ var FXPipeline = new Class({
for (var i = 0; i < fx.length; i++)
{
var config = fx[i];
var controller = fx[i];
if (config.active)
if (controller.active)
{
handlers[config.type].call(this, config, width, height);
handlers[controller.type].call(this, controller, width, height);
}
}
}