I am finishing the "first game" part of the tutorial.
I am proud of myself as I even managed to code a toggle button for keeping the keyboard controls :p
However, I can't get rid of this error message when the player dies:
E 0:00:06.128 emitsignal: Error calling method from signal 'hit': 'Area2D(Player.gd)::gameover': Method not found..
<C++ Source> core/object.cpp:1260 @ emitsignal()
Player.gd:75 @ _onPlayerbodyentered()
As I said, the game works, the score resets and the HUD pops up and you can play again, but the debugger still has this error in it.
I tried disconnecting and reconnecting and have checked that part of the code in completed projects for this game. Everything seems to be the same as in my code.
I am a beginner, can you point me in the right direction?
Regards.