This commit is contained in:
naielv
2025-09-03 10:21:41 +02:00
parent 12b90e3e1e
commit a3098a15f2
2 changed files with 9 additions and 14 deletions

View File

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