Copy NPC1 when importing

Stores which villager index can inhabit the house
This commit is contained in:
Kurt
2020-04-21 14:52:54 -07:00
parent c9a86cbff9
commit 806089cd9d

View File

@@ -232,6 +232,8 @@ private void B_LoadHouse_Click(object sender, EventArgs e)
var data = File.ReadAllBytes(file);
var h = data.ToClass<VillagerHouse>();
var current = SAV.GetVillagerHouse(VillagerIndex);
h.NPC1 = current.NPC1;
SAV.SetVillagerHouse(h, VillagerIndex);
}
}