From 9d327e0a255bb4d9c6bba6f6ff8661a20b0fc9f8 Mon Sep 17 00:00:00 2001 From: crunchprank Date: Tue, 14 Dec 2021 16:23:28 -0500 Subject: [PATCH] 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. --- NHSE.Core/Structures/GameFileDumper.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/NHSE.Core/Structures/GameFileDumper.cs b/NHSE.Core/Structures/GameFileDumper.cs index 9a6938c..35faffe 100644 --- a/NHSE.Core/Structures/GameFileDumper.cs +++ b/NHSE.Core/Structures/GameFileDumper.cs @@ -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);