My game closes unexpectedly

extends Area2D

@onready var game_manager = %“game manager”

func _on_body_entered(body):
if (‘CharacterBody2D’):

is there a proble pease,it closes after some time

what node type is game manager? add_point makes me think it is a line2d. if you add points and never remove them i imagine that will cause problems.