Fix prepared settings bugs ("null" -> "actor")

This commit is contained in:
Vlyan
2022-12-31 13:56:19 +01:00
parent 9446e08433
commit c5c5d173db
9 changed files with 13 additions and 13 deletions

View File

@@ -337,7 +337,7 @@ export class ActorL5r5e extends Actor {
// Prepared is a boolean or if null we get the info in the actor
let isPrepared = this.isCharacter ? cfg.character : cfg[this.system.type];
if (isPrepared === "null") {
if (isPrepared === "actor") {
isPrepared = this.system.prepared ? "true" : "false";
}