This commit is contained in:
2022-02-23 21:39:25 +01:00
parent 37f19687df
commit 27ffd07bcc
2 changed files with 22 additions and 1 deletions

View File

@@ -141,7 +141,7 @@ $(async function () {
this.setPhysics(randRange(0,canvas.width),
randRange(0,canvas.height),
0,0,0,0);
this.sete = emote ? emote:null
this.sete = emote ? emote:[]
this.emote = Array.isArray(emote)? randEmote(this.sete) : emote
this.time = 0;
}