fix web textures

This commit is contained in:
Damien Ostler 2024-01-07 17:02:17 -05:00
parent d766ad12b9
commit 0476875d42
2 changed files with 5 additions and 2 deletions

View File

@ -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)

View File

@ -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]