Fix block value set cast on change language

Closes #3657
This commit is contained in:
Kurt 2022-11-27 10:52:01 -08:00
parent 2fe8b63589
commit 6002611c80

View file

@ -44,7 +44,7 @@ public sealed class MyStatus9 : SaveBlock<SAV9SV>
// For runtime language, the game shifts all languages above Language 6 (unused) down one.
if (value >= 6)
value--;
SAV.SetValue(SaveBlockAccessor9SV.KGameLanguage, (uint)value);
SAV.SetValue(SaveBlockAccessor9SV.KGameLanguage, value); // Int32
}
}