When I apply SR-NextPass my API stops working and says there's an error. This script, once activated, subtracts 10 from initiative, removes those whose initiative goes below 0, and then re-sorts the list in descending order, which is vital for the smooth running of Shadowrun initiative. It is very encumbersome to manually subtract 10 from each individual person, then to have to re-sort the whole list manually since people can interrupt and take a -5 initiative. Can someone take a look at this and see why it is having an error?