Localization in es, zh, ja, ko, vi; IsSolid is not written into event files

This commit is contained in:
cthangover committed 2026-10-23 20:54:47 +02:00
1 parent c4d6adf8fb
commit e1b733ea01
7 files changed
+12

No files matched your search

+1
View File
@@ -73,6 +73,7 @@ namespace Cthangover.Mods.Rpg
public string File { get; set; }
/// <summary>Effective solidity: explicit value, else whether the event is drawn.</summary>
[JsonIgnore]
public bool IsSolid => Solid ?? (!string.IsNullOrEmpty(Sprite) || Tile >= 0 || !string.IsNullOrEmpty(Icon));
}
}