mirror of
https://github.com/4sval/FModel.git
synced 2026-03-22 01:34:37 -05:00
fix for wraps caused by me in 2b84278
This commit is contained in:
parent
2b84278af7
commit
60aec5e8e4
|
|
@ -439,7 +439,7 @@ namespace FModel
|
|||
JToken assetPathName = largePreviewImage["asset_path_name"];
|
||||
if (assetPathName != null)
|
||||
{
|
||||
string textureFile = Path.GetFileName(assetPathName.Value<string>()).Substring(0, Path.GetFileName(assetPathName.Value<string>()).LastIndexOf('.') + 1);
|
||||
string textureFile = Path.GetFileName(assetPathName.Value<string>()).Substring(0, Path.GetFileName(assetPathName.Value<string>()).LastIndexOf('.'));
|
||||
|
||||
ItemIcon.ItemIconPath = JohnWick.AssetToTexture2D(textureFile);
|
||||
if (File.Exists(ItemIcon.ItemIconPath))
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user