From 6bc69fd2481b8534e305555541e710e6fd96bc4a Mon Sep 17 00:00:00 2001 From: Relintai Date: Sun, 8 Oct 2023 21:04:15 +0200 Subject: [PATCH] Fix making the camera current. --- game/player/Body.gd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/game/player/Body.gd b/game/player/Body.gd index f0f606f..2423f83 100644 --- a/game/player/Body.gd +++ b/game/player/Body.gd @@ -489,7 +489,7 @@ func on_c_controlled_changed(): camera = Camera2D.new() camera.zoom = Vector2(0.9, 0.9) add_child(camera) - camera.current = true + camera.make_current() #var uiscn : PackedScene = ResourceLoader.load("res://ui/player_ui/player_ui.tscn") #var ui = uiscn.instance()