Check that filters is truthy

This commit is contained in:
Nathan Dinsmore 2014-06-18 09:50:42 -04:00
parent 0556bcfe0d
commit 34aac1b158

View file

@ -298,7 +298,7 @@ public class Block extends Sprite {
}
public function showRunFeedback():void {
if (filters.length > 0) {
if (filters && filters.length > 0) {
for each (var f:* in filters) {
if (f is GlowFilter) return;
}