mirror of
https://github.com/kwsch/NHSE.git
synced 2026-08-03 00:10:10 -05:00
parent
6f4d9e163c
commit
7a78154ed6
|
|
@ -240,9 +240,16 @@ private void LoadPlayer(int index)
|
|||
NUD_NookMiles.Value = Math.Min(int.MaxValue, pers.NookMiles.Value);
|
||||
NUD_Wallet.Value = Math.Min(int.MaxValue, pers.Wallet.Value);
|
||||
|
||||
var photo = pers.GetPhotoData();
|
||||
var bmp = new Bitmap(new MemoryStream(photo));
|
||||
PB_Player.Image = bmp;
|
||||
try
|
||||
{
|
||||
var photo = pers.GetPhotoData();
|
||||
PB_Player.Image = new Bitmap(new MemoryStream(photo));
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
Console.WriteLine(e);
|
||||
throw;
|
||||
}
|
||||
|
||||
PlayerIndex = index;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user