mirror of
https://github.com/kwsch/NHSE.git
synced 2026-09-30 22:06:37 -05:00
Copy NPC1 when importing
Stores which villager index can inhabit the house
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user