mirror of
https://github.com/kwsch/NHSE.git
synced 2026-10-01 06:16:38 -05:00
Update GameFileDumper.cs (#575)
Changed the Pro Design Editor to dump files as `nhpd` seeing as that is the extension it looks for upon import.
This commit is contained in:
@@ -270,8 +270,8 @@ private static void Dump(this DesignPatternPRO dp, string path, int index, bool
|
||||
{
|
||||
var name = dp.DesignName;
|
||||
string fn = indexed
|
||||
? $"{index:00} - {name}.nhd"
|
||||
: $"{name}.nhd";
|
||||
? $"{index:00} - {name}.nhpd"
|
||||
: $"{name}.nhpd";
|
||||
fn = StringUtil.CleanFileName(fn);
|
||||
var dest = Path.Combine(path, fn);
|
||||
File.WriteAllBytes(dest, dp.Data);
|
||||
|
||||
Reference in New Issue
Block a user