1
0
mirror of synced 2024-11-28 01:10:51 +01:00

BfresStructs: Remove extra variable assignment when renaming FMAT

This commit is contained in:
OatmealDome 2018-11-18 02:17:39 -05:00 committed by GitHub
parent 9dcf9eb15f
commit 6c07f6018f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);