fixed generic item on ground and added icon
This commit is contained in:
@@ -10,7 +10,7 @@ public partial class ItemOnGroundSpawnWith : Node
|
||||
{
|
||||
if(_blueprint == null) return;
|
||||
|
||||
var parent = GetParent<ItemOnGround>();
|
||||
var parent = GetParent<ItemOnGround2D>();
|
||||
parent.itemInstance = new ItemInstance { blueprint = _blueprint };
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user