diff --git a/Player/PlayerVariables.gd b/Player/PlayerVariables.gd index 51cb96c..f3c98a2 100644 --- a/Player/PlayerVariables.gd +++ b/Player/PlayerVariables.gd @@ -4,7 +4,7 @@ var position: Vector2 = Vector2() var health = null var energy = null var unlocked: Array = [Globals.Conduit2] -var current_scene: PackedScene +var current_scene: String func respawn(): health = null diff --git a/magic/Beams/Beam.gd b/magic/Beams/Beam.gd index 3f7945c..693bfd0 100644 --- a/magic/Beams/Beam.gd +++ b/magic/Beams/Beam.gd @@ -14,3 +14,4 @@ func _physics_process(delta): End.global_position = Ray.get_collision_point() else: End.position = max_cast + Beam.