diff --git a/PCK-Studio/MainForm.cs b/PCK-Studio/MainForm.cs index 374a757c..ca9e576c 100644 --- a/PCK-Studio/MainForm.cs +++ b/PCK-Studio/MainForm.cs @@ -2113,7 +2113,7 @@ namespace PckStudio if (treeViewMain.SelectedNode.TryGetTagData(out PckFileData file) && file.Filetype == PckFileType.SkinFile) { - foreach (KeyValuePair p in file.GetProperties()) + foreach (KeyValuePair p in file.GetProperties().ToList()) { if (p.Key == "BOX" || p.Key == "OFFSET") file.SetProperty(file.GetPropertyIndex(p), new KeyValuePair(p.Key, p.Value.Replace(',', '.')));