diff --git a/grid_inventory_system/scripts/ItemEquipmentSlots.gd b/grid_inventory_system/scripts/ItemEquipmentSlots.gd index 0335aee..1131d6f 100644 --- a/grid_inventory_system/scripts/ItemEquipmentSlots.gd +++ b/grid_inventory_system/scripts/ItemEquipmentSlots.gd @@ -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) diff --git a/project.godot b/project.godot index 7937144..9341f4e 100644 --- a/project.godot +++ b/project.godot @@ -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]