Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

Getting an Error when Using the Area of Effect API

Getting this error when I drag any asset from my library to the VTT with AOE and its various supporting scripts installed. All other scripts I have installed are shown in the screenshot. If I reset the sandbox and just try and open the AOE macro on the tabletop nothing happens.  
1568345400
The Aaron
Roll20 Production Team
API Scripter
This is a bug in CombatTracker.  It assumes that only tokens are in the Turn Order, but if you have Custom Turns it will cause a crash on line 495: if(getCurrentTurn().id === obj.get('id')){ You can copy the script to your game and change that line to: if((getCurrentTurn()||{}).id === obj.get('id')){ and it should prevent the crash.
That did fix the crash, Thankyou!