diff --git a/PCK-Studio/Forms/Editor/GameRuleFileEditor.cs b/PCK-Studio/Forms/Editor/GameRuleFileEditor.cs index 549b4f30..15a3b165 100644 --- a/PCK-Studio/Forms/Editor/GameRuleFileEditor.cs +++ b/PCK-Studio/Forms/Editor/GameRuleFileEditor.cs @@ -103,9 +103,9 @@ namespace PckStudio.Forms.Editor private void ReloadGameRuleTree() { GrfTreeView.Nodes.Clear(); - SetCompressionLevel(); if (_file is not null) { + SetCompressionLevel(); LoadGameRuleTree(GrfTreeView.Nodes, _file.Root); } }