Save primatives properly

This commit is contained in:
KillzXGaming 2019-05-01 19:58:45 -04:00
parent fcbd65fe4b
commit be28b9c059
2 changed files with 2 additions and 2 deletions

Binary file not shown.

View file

@ -511,11 +511,11 @@ namespace FirstPlugin
{
switch (Signature)
{
case "PRMA":
case "G3PR":
byte[] BinaryBFRESFile = new byte[0];
if (BinaryData != null)
{
BinaryBFRESFile = ((BNTX)BinaryData).Save();
BinaryBFRESFile = ((BFRES)BinaryData).Save();
SectionSize = (uint)BinaryBFRESFile.Length;
}
SaveHeader(writer, BinaryBFRESFile, 4096);