Don't apply old glamourer designs to non-humans.

This commit is contained in:
Ottermandias 2023-07-25 14:36:20 +02:00
parent 3522cf7d7c
commit 46317f1e7f
6 changed files with 19 additions and 17 deletions

View file

@ -339,7 +339,7 @@ public class DesignPanel
try
{
var text = ImGui.GetClipboardText();
var design = _converter.FromBase64(text, true, true) ?? throw new Exception("The clipboard did not contain valid data.");
var design = _converter.FromBase64(text, true, true, out _) ?? throw new Exception("The clipboard did not contain valid data.");
_manager.ApplyDesign(_selector.Selected!, design);
}
catch (Exception ex)