update app_modules.js

This commit is contained in:
naielv
2025-09-03 00:13:25 +02:00
parent 841f063695
commit 92dc877942

View File

@@ -936,7 +936,7 @@ function TS_IndexElement(
// Event handlers are now attached during button creation
break;
case "persona":
const persona = SC_Personas[data[key.key]];
const persona = SC_Personas[data[key.key]] || {};
const regco = stringToColour(
(persona.Region || "?").toLowerCase()
);