You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
jaylydb: TypeError: cannot read property 'type' of undefined #334
Went afk to let the game run, came back to this error.
19:16:38[Scripting][error]-TypeError: cannot read property 'type' of undefined at updateParticipants (jaylydb/index.js:108) at <anonymous> (jaylydb/index.js:223)
My code isn't doing anything too complicated, every 2 seconds its writing out a list of objects and their values to the database, without revealing too much it looks roughly like this.
Scoreboard with its data bits looking like:
Code:
db init: this.db = new JaylyDB(dbName);
code that iterates over some objects:
var index: number = 0; for (const object of this.objects) { object.save(index, this.db); index++; }
Activity