One deck of mine consistently crashes when navigating from card to card using the arrow keys, and today I realized it's a syntax error that isn't being caught by the 'Your script contains errors' validator. The script with missing brackets is 'valid' and will initialize the brushes, but will crash the deck after a certain amount of navigate[] events when ran at a deck level. The second one, with added brackets to surround the brush function, seems to have fixed the issue I've been having, but I was surprised that both were able to pass the check.
roundtips:"%J" parse "[ %%IMG0AAcABzh8/v7+fDg=, %%IMG0AAMAA0DgQA== ]" brush[on roundB1 delta newLine pos do roundtips[0].copy[].map[(1) dict plight[deck.card.image[pos]]] end brush[on roundB2 delta newLine pos do roundtips[1].copy[].map[(1) dict plight[deck.card.image[pos]]] end
roundtips:"%J" parse "[ %%IMG0AAcABzh8/v7+fDg=, %%IMG0AAMAA0DgQA== ]" brush[on roundB1 delta newLine pos do roundtips[0].copy[].map[(1) dict plight[deck.card.image[pos]]] end] brush[on roundB2 delta newLine pos do roundtips[1].copy[].map[(1) dict plight[deck.card.image[pos]]] end]
