From b0aa1528ea5965fa7d62b897dda4d00289ac2b2d Mon Sep 17 00:00:00 2001 From: cooolbros Date: Thu, 4 Jan 2024 11:38:36 +1100 Subject: [PATCH] Pre increment max to avoid conflicts --- src/HUDMerger/Models/HUD.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/HUDMerger/Models/HUD.cs b/src/HUDMerger/Models/HUD.cs index 5f914cc..8a3622f 100644 --- a/src/HUDMerger/Models/HUD.cs +++ b/src/HUDMerger/Models/HUD.cs @@ -688,7 +688,7 @@ If the value is a string select the string value { targetMergeClientScheme.CustomFontFiles.Add(new KeyValue { - Key = max++.ToString(), + Key = (++max).ToString(), Value = customFontFile.Value, Conditional = customFontFile.Conditional });