Merge branch 'main' of git.fosil.eu:gymkhana/gymkhana
This commit is contained in:
@@ -51,7 +51,9 @@ func set_custom_data(data: Dictionary) -> void:
|
||||
ESCItemCountManager.new().updateSprite(self)
|
||||
|
||||
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()
|
||||
else:
|
||||
return inventory_texture_hovered
|
||||
Reference in New Issue
Block a user