mirror of
https://github.com/Relintai/broken_seals_2d.git
synced 2024-11-11 20:35:10 +01:00
Fix setting the camera to current.
This commit is contained in:
parent
8020295482
commit
b9d69ab66c
@ -508,7 +508,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()
|
||||
|
Loading…
Reference in New Issue
Block a user