[Fix] Refactor project
This commit is contained in:
@@ -137,9 +137,8 @@ namespace YachtDice.UI
|
||||
var entries = new List<ModifierSaveEntry>();
|
||||
var permanentIds = new HashSet<string>();
|
||||
|
||||
for (int i = 0; i < save.ownedModifiers.Count; i++)
|
||||
foreach (var oldEntry in save.ownedModifiers)
|
||||
{
|
||||
var oldEntry = save.ownedModifiers[i];
|
||||
var def = _modifierCatalog.FindById(oldEntry.modifierId);
|
||||
|
||||
if (def == null)
|
||||
|
||||
Reference in New Issue
Block a user