Make some stuff work.

This commit is contained in:
Ottermandias 2023-06-02 23:21:07 +02:00
parent 4eb46a9fff
commit e79ee55f3b
8 changed files with 69 additions and 12 deletions

View file

@ -247,7 +247,7 @@ public partial class Design : DesignData, ISavable
if (json == null)
return true;
var customize = design.ModelData.Customize;
ref var customize = ref design.ModelData.Customize;
foreach (var idx in Enum.GetValues<CustomizeIndex>())
{
var tok = json[idx.ToString()];