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