1
0
mirror of synced 2024-11-12 10:10:50 +01:00

Merge pull request #8 from OatmealDome/master

BfresStructs: Remove extra variable assignment when renaming FMAT
This commit is contained in:
KillzXGaming 2018-11-18 12:01:21 -05:00 committed by GitHub
commit 738a285a5c
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);