
I have been using a useful script called CreatureGen that suddenly isn't working anymore. Works fine in my last game, but when I try to use it in new games it fails everytime. I am assuming Roll20 updated something that only affects newly created games. Here is the code /** * Object fix to resolve firebase errors * * @author Shu Zong C. */ var fixNewObject = function(obj) { //var p = obj.changed._fbpath; //var new_p = p.replace(/([^\/]*\/){4}/, "/"); //obj.fbpath = new_p; return obj; }; obj.changed returns a null object and when they try to look up the _fbpath property that causes a crash. I commented out the code and it works fine, but I have to assume it was doing something important. Does anyone know what fbpath is or which firebase errors this is addressing?