If it's an old sketch, LayerCount will default to 0, so in order for Layer.on() to function, don't bother checking for out-of-bounds if LayerCount == 0.pull/244/head
parent
2784d0e9a9
commit
36b461a99a
Loading…
Reference in new issue