From 6c07f6018f6378473714136445cf918e25ba3b35 Mon Sep 17 00:00:00 2001 From: OatmealDome Date: Sun, 18 Nov 2018 02:17:39 -0500 Subject: [PATCH] BfresStructs: Remove extra variable assignment when renaming FMAT --- Switch_FileFormatsMain/FileFormats/BFRES/BfresStructs.cs | 2 -- 1 file changed, 2 deletions(-) diff --git a/Switch_FileFormatsMain/FileFormats/BFRES/BfresStructs.cs b/Switch_FileFormatsMain/FileFormats/BFRES/BfresStructs.cs index a8b836f8..aeb1d4cc 100644 --- a/Switch_FileFormatsMain/FileFormats/BFRES/BfresStructs.cs +++ b/Switch_FileFormatsMain/FileFormats/BFRES/BfresStructs.cs @@ -1712,8 +1712,6 @@ namespace Bfres.Structs if (dialog.ShowDialog() == DialogResult.OK) { - Text = dialog.textBox1.Text; - ((FMDL)Parent.Parent).materials.Remove(Text); Text = dialog.textBox1.Text; ((FMDL)Parent.Parent).materials.Add(Text, this);