If there is no one to talk with indicate so if there are people we show a message to be consistent with the actions.

This commit is contained in:
Sergiotarxz 2023-07-10 18:15:00 +02:00
parent e20d4daa67
commit 148cecdec9
2 changed files with 7 additions and 1 deletions

View File

@ -94,8 +94,14 @@ export default function BottomPanel (props: BottomPanelProps): JSX.Element {
if (npcs === null) {
return <></>
}
if (Object.keys(npcs).length < 1) {
return <>
<p>No hay nadie para hablar ahora.</p>
</>
}
return (
<>
<p>Disponible para hablar:</p>
{
Object.keys(npcs).map((identifier) => {
const npc = npcs[identifier]

File diff suppressed because one or more lines are too long