mirror of
https://github.com/kwsch/NHSE.git
synced 2026-04-24 23:27:14 -05:00
parent
dd92b9ea73
commit
cca03ea27a
|
|
@ -98,7 +98,7 @@ private void B_LoadHouse_Click(object sender, EventArgs e)
|
|||
|
||||
var file = ofd.FileName;
|
||||
var fi = new FileInfo(file);
|
||||
const int expectLength = VillagerHouse.SIZE;
|
||||
const int expectLength = PlayerHouse.SIZE;
|
||||
if (fi.Length != expectLength)
|
||||
{
|
||||
WinFormsUtil.Error(MessageStrings.MsgCanceling, string.Format(MessageStrings.MsgDataSizeMismatchImport, fi.Length, expectLength));
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user