Fix camera effect

This commit is contained in:
MyNameIsBatman 2021-06-15 18:22:44 -03:00
parent 6b7749998c
commit a567a812e9

View File

@ -72,7 +72,7 @@ export class RoomCameraWidgetManager implements IRoomCameraWidgetManager
filter.matrix = effect.colorMatrix; filter.matrix = effect.colorMatrix;
filter.alpha = selectedEffect.alpha; filter.alpha = selectedEffect.alpha;
if(!sprite.filters) sprite.filters = [ filter ]; if(!sprite.filters) sprite.filters = [];
sprite.filters.push(filter); sprite.filters.push(filter);
} }