mirror of
https://github.com/D4M13N-D3V/godot_grid_inventory.git
synced 2025-03-14 08:14:55 +00:00
fix
This commit is contained in:
parent
1d7befe46c
commit
06f511f182
@ -8,7 +8,7 @@ func _ready():
|
||||
for i in DirAccess.get_files_at("res://grid_inventory_system/items"):
|
||||
if(i.ends_with(".tres")):
|
||||
var item = load("res://grid_inventory_system/items/" + i)
|
||||
ITEMS[item.item_id] = item
|
||||
ITEMS[item.item_id] = item
|
||||
|
||||
# Function to retrieve an item based on its item_id
|
||||
func get_item(item_id):
|
||||
|
Loading…
x
Reference in New Issue
Block a user