Merge branch 'main' of git.fosil.eu:gymkhana/gymkhana

This commit is contained in:
oier committed 2025-09-06 03:57:22 +02:00
commit 66d3416b91
1 file changed
+4 -2
@@ -51,7 +51,9 @@ func set_custom_data(data: Dictionary) -> void:
ESCItemCountManager.new().updateSprite(self) ESCItemCountManager.new().updateSprite(self)
func _get_inventory_texture_hovered() -> Texture2D: func _get_inventory_texture_hovered() -> Texture2D:
if inventory_texture_hovered == null: if custom_data.has("count"):
return inventory_texture
elif inventory_texture_hovered == null:
return _get_inventory_texture() return _get_inventory_texture()
else: else:
return inventory_texture_hovered return inventory_texture_hovered