mirror of
https://github.com/Relintai/broken_seals_2ds.git
synced 2024-11-22 03:07:17 +01:00
Fix making the camera current.
This commit is contained in:
parent
f094e5eac3
commit
6bc69fd248
@ -489,7 +489,7 @@ func on_c_controlled_changed():
|
|||||||
camera = Camera2D.new()
|
camera = Camera2D.new()
|
||||||
camera.zoom = Vector2(0.9, 0.9)
|
camera.zoom = Vector2(0.9, 0.9)
|
||||||
add_child(camera)
|
add_child(camera)
|
||||||
camera.current = true
|
camera.make_current()
|
||||||
|
|
||||||
#var uiscn : PackedScene = ResourceLoader.load("res://ui/player_ui/player_ui.tscn")
|
#var uiscn : PackedScene = ResourceLoader.load("res://ui/player_ui/player_ui.tscn")
|
||||||
#var ui = uiscn.instance()
|
#var ui = uiscn.instance()
|
||||||
|
Loading…
Reference in New Issue
Block a user