Fix item not reloaded on resource import.
This commit is contained in:
@@ -29,7 +29,6 @@ namespace Cryville.Crtr.Browsing {
|
|||||||
|
|
||||||
private bool LoadItem(int id, GameObject obj) {
|
private bool LoadItem(int id, GameObject obj) {
|
||||||
var bi = obj.GetComponent<BrowserItem>();
|
var bi = obj.GetComponent<BrowserItem>();
|
||||||
if (bi.Id == id) return true;
|
|
||||||
var item = ResourceManager.GetItemMeta(id);
|
var item = ResourceManager.GetItemMeta(id);
|
||||||
bi.Load(id, item);
|
bi.Load(id, item);
|
||||||
return true;
|
return true;
|
||||||
|
Reference in New Issue
Block a user