diff options
author | Daniel Weipert <git@mail.dweipert.de> | 2024-10-12 23:09:56 +0200 |
---|---|---|
committer | Daniel Weipert <git@mail.dweipert.de> | 2024-10-12 23:09:56 +0200 |
commit | 0697f674ec33f8381ba68cf064732ee40e6e584f (patch) | |
tree | 89334f288356390d193fa327bb3895fa366985b5 /Game/Selection | |
parent | 647e2e1812c00e29337a61560644f7aa91d0eb0f (diff) |
next commit
Diffstat (limited to 'Game/Selection')
-rw-r--r-- | Game/Selection/multi_select_area.gd | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Game/Selection/multi_select_area.gd b/Game/Selection/multi_select_area.gd index 9b2e8ce..c3cc902 100644 --- a/Game/Selection/multi_select_area.gd +++ b/Game/Selection/multi_select_area.gd @@ -5,7 +5,7 @@ signal select(nodes: Array) func _ready() -> void: - var camera_rect = Client.stage.get_node("Camera").get_rect() + var camera_rect = Client.current_stage.get_node("Camera").get_rect() global_position = camera_rect.position + camera_rect.size / 2 |