In my 2D platformer I have created multiple preloaded sprite sheets for the player so he can swap out different armor on the same sprite without needing a ton of sprites or animations, I have a function that fires when picking up a piece of armor (area2D) and it works great until I pick up a 3rd item. Then the .png my code imports is blurry. Not so for the first or second item I get, only the third, and no matter what order I do it in! Is there a setting or something I can change to make it import via 2D pixel automatically in the game when my function fires?!
Some snipets of my player's code to show what I'm doing ....
onready var HelmSkin = preload("res://Assets/PlayerSprites/Helm.png")
var GotHelm = false
func _ready() -> void: $Area2D.connect("area_entered", self, "Upgrades")
func Upgrades(area: Area2D): if area.is_in_group("Helm"): GotHelm = true EquipmentHandler()
func EquipmentHandler(): if GotHelm == true and GotVisor == false and GotMask == false: headSprite.set_texture(HelmSkin)