mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Deal with strings that aren't strings
This commit is contained in:
@@ -39,7 +39,7 @@ namespace SabreTools.DatItems.Formats
|
||||
{
|
||||
get
|
||||
{
|
||||
var status = GetFieldValue<ItemStatus>(Models.Metadata.Rom.StatusKey);
|
||||
var status = GetStringFieldValue(Models.Metadata.Rom.StatusKey).AsEnumValue<ItemStatus>();
|
||||
return status != ItemStatus.NULL && status != ItemStatus.None;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user