So in my player script, I get this error ⬆️ at this line of code:
PlayerInfo.player = self
In the Members tab in the enemy node, it says player = null, even though I set it to
res://player.tscnin the enemy script.
Any ideas as to what might’ve caused this error? Thanks in advance