Set self name as fall back

This commit is contained in:
Dennis Postma 2024-06-03 20:41:33 +02:00
parent 43fe08071f
commit 1e1393d7ad

View File

@ -1,7 +1,7 @@
<template> <template>
<Container> <Container>
<Text <Text
:text="props.character?.name" :text="props.character?.name ?? socket.character.name"
:x="position.x - 50" :x="position.x - 50"
:y="position.y - 80" :y="position.y - 80"
:style="{ :style="{