Skip to content

Commit

Permalink
fix(online): undefined player dialog causing errors
Browse files Browse the repository at this point in the history
  • Loading branch information
seleb committed Aug 25, 2022
1 parent bb9ecba commit 22f90f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/online.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ function onData(event) {
room: data.room,
type: 'SPR',
};
bitsy.dialog[longname] = { src: data.dlg };
bitsy.dialog[longname] = { src: data.dlg || '' };
bitsy.renderer.SetDrawingSource(longname, data.data);

for (var frame = 0; frame < data.data.length; ++frame) {
Expand Down

0 comments on commit 22f90f8

Please sign in to comment.