mirror of
https://github.com/kwsch/NHSE.git
synced 2026-09-27 12:26:35 -05:00
Fix loading player house and room dumps (#552)
* Fix loading player house and room dumps * Check converted house/room data lengths rather instead of the imported dunmp's * Fix downgrading player house format
This commit is contained in:
@@ -302,7 +302,7 @@ private void DeleteTile(Item tile, int x, int y)
|
||||
private void B_LoadRoom_Click(object sender, EventArgs e)
|
||||
{
|
||||
var room = Manager.Room;
|
||||
MiscDumpHelper.LoadRoom(SAV.Offsets, room, RoomIndex);
|
||||
MiscDumpHelper.LoadRoom(SAV.Offsets, ref room, RoomIndex);
|
||||
|
||||
var house = Houses[Index];
|
||||
house.SetRoom(RoomIndex, room);
|
||||
|
||||
Reference in New Issue
Block a user