fix: remove swaps using deleted layouts
This commit is contained in:
parent
29944dcd3e
commit
8885326756
|
@ -841,6 +841,8 @@ namespace HUD_Manager {
|
|||
}
|
||||
}
|
||||
|
||||
this.Plugin.Config.HudConditionMatches.RemoveAll(match => match.LayoutId == this._selectedEditLayout);
|
||||
|
||||
this.Plugin.Config.Layouts.Remove(this._selectedEditLayout);
|
||||
this._selectedEditLayout = Guid.Empty;
|
||||
this.Plugin.Config.Save();
|
||||
|
|
Loading…
Reference in New Issue