BfresStructs: Remove extra variable assignment when renaming FMAT
This commit is contained in:
parent
9dcf9eb15f
commit
6c07f6018f
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user