Keep getting a strange error that cancels out killing a mob by jumping on it

Godot Version



This is said error:

The error means that you connected a signal that emits with 4 arguments to a function that only has 1 argument. You probably wanted to connect the Area2D.body_entered signal and not the Area2D.body_shape_entered one.

1 Like

Everything worked fine until I added Game.Gold += 5 and Utilities.saveGame()

That fixed it though. Thank you!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.