We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9126fa1 commit b3e1c9cCopy full SHA for b3e1c9c
1 file changed
CathodeLib/Scripts/CATHODE/CommandsPAK/Helpers/ShortGuidUtils.cs
@@ -41,8 +41,9 @@ public static void LinkCommands(Commands commands)
41
_commands.OnSaveSuccess -= SaveCustomNames;
42
43
_commands = commands;
44
- if (_commands != null)
45
- _commands.OnSaveSuccess += SaveCustomNames;
+ if (_commands == null) return;
+
46
+ _commands.OnSaveSuccess += SaveCustomNames;
47
48
LoadCustomNames(commands.Filepath);
49
}
0 commit comments