mirror of
https://github.com/D4M13N-D3V/godot_grid_inventory.git
synced 2025-03-14 08:14:55 +00:00
fix web textures
This commit is contained in:
parent
d766ad12b9
commit
0476875d42
@ -49,7 +49,7 @@ func grab_item(pos):
|
||||
return null
|
||||
|
||||
# Retrieve item slot information from the ItemDb
|
||||
var item_slot = ItemDb.get_item(item.get_meta("id")).item_slot
|
||||
var item_slot = ItemDb.get_item(item.get_meta("id")).item_equipment_slot
|
||||
# Remove the item from the slot and emit the weapon_unequipped signal
|
||||
items[item_slot] = null
|
||||
weapon_unequipped.emit(item.item_config.item_id, item.item_config)
|
||||
|
@ -24,7 +24,10 @@ ItemDb="*res://grid_inventory_system/scripts/ItemDB.gd"
|
||||
window/size/viewport_width=1920
|
||||
window/size/viewport_height=1080
|
||||
window/stretch/mode="canvas_items"
|
||||
window/stretch/aspect="expand"
|
||||
|
||||
[editor]
|
||||
|
||||
export/convert_text_resources_to_binary=false
|
||||
|
||||
[input]
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user