I ran a game on Thursday afternoon using Combat Master, which worked more or less as expected. Today, I go into try and set something else up, and the sandbox is constantly crashing every time I try and move the turnorder forward. I'm using Chrome I've tried the Default and Experimental Sandboxes I've tried it in the original game and created a brand new game to test it in with no other APIs loaded. Always the same. Roll Initiative, move it on to the second person's turn, and the sandbox crashes. The is the error that comes up Your scripts are currently disabled due to an error that was detected. Please make appropriate changes to your script's code and click the "Save Script" button. We will then attempt to start running the scripts again. More info... If this script was installed from the Mod Library, you might find help in the Community API Forum. For reference, the error message generated was: TypeError: Cannot read properties of undefined (reading 'length')
TypeError: Cannot read properties of undefined (reading 'length')
at apiscript.js:2422:70
at Array.forEach (<anonymous>)
at getAnnounceConditions (apiscript.js:2391:49)
at announcePlayer (apiscript.js:2325:27)
at doTurnorderChange (apiscript.js:2048:13)
at nextTurn (apiscript.js:2174:9)
at commandHandler (apiscript.js:314:17)
at apiscript.js:180:25
at Function.each (/home/node/d20-api-server/node_modules/underscore/underscore-node-f.cjs:1323:7)
at inputHandler (apiscript.js:175:23)