fix wrong font name

This commit is contained in:
Lurkars 2021-09-20 15:22:54 +02:00
parent 9b13a6780c
commit 781c69387c

View File

@ -293,7 +293,7 @@ export abstract class Character extends Container {
this.cancelPreviousEmote();
const emoteY = -45;
this.playerName.setVisible(false);
this.emote = new Text(this.scene, -10, 0, emote, { fontFamily: '"twemoji"', fontSize: "20px" });
this.emote = new Text(this.scene, -10, 0, emote, { fontFamily: '"Twemoji Mozilla"', fontSize: "20px" });
this.emote.setAlpha(0);
this.add(this.emote);
this.createStartTransition(emoteY);