diff options
author | BigBrotherNii <nicochr1004@gmail.com> | 2024-07-21 14:50:11 +0200 |
---|---|---|
committer | BigBrotherNii <nicochr1004@gmail.com> | 2024-07-21 14:50:11 +0200 |
commit | dfc85dd9942fca12f9908fde19414feef30995d5 (patch) | |
tree | aee54e8e2c9a3d68dc64d32cf32ca0521736aa67 | |
parent | 29b27567865a588655336ab1fd5afef9fa49a0fd (diff) | |
download | hurrycurry-dfc85dd9942fca12f9908fde19414feef30995d5.tar hurrycurry-dfc85dd9942fca12f9908fde19414feef30995d5.tar.bz2 hurrycurry-dfc85dd9942fca12f9908fde19414feef30995d5.tar.zst |
stopped camera floowing function if submenu is open
-rw-r--r-- | client/player/follow_camera.gd | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/player/follow_camera.gd b/client/player/follow_camera.gd index 3c993ee0..6bd1b9ef 100644 --- a/client/player/follow_camera.gd +++ b/client/player/follow_camera.gd @@ -51,7 +51,7 @@ func _ready(): ground = target.position func _process(delta): - if target != null: + if target != null && get_tree().root.get_node("Entry/GameMenu/IngameMenu") == null: follow(delta) func _input(_event): |