mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2025-05-31 00:51:37 +00:00
Fixed, Script Editor: MD5 hash of text files stored in PK3 was calculated incorrectly, resulting in false warning messages when saving.
This commit is contained in:
parent
cfc92d9075
commit
d73ea867a4
3 changed files with 8 additions and 2 deletions
|
@ -584,6 +584,9 @@ namespace CodeImp.DoomBuilder.Data
|
|||
File.WriteAllBytes(location.location, savestream.ToArray());
|
||||
}
|
||||
|
||||
// Rewind the stream (because DirectoryReader/WADReader don't modify stream Position in SaveFile)
|
||||
stream.Position = 0;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue