diff options
author | IcECreAm777 <hgk.1998@googlemail.com> | 2023-07-09 16:25:05 +0200 |
---|---|---|
committer | IcECreAm777 <hgk.1998@googlemail.com> | 2023-07-09 16:25:05 +0200 |
commit | e7845dfe77cafebd30efb660ef56006d5388efb1 (patch) | |
tree | 1f7b96cc93cfa6a8b213b4529e93cef9092bfb95 /Scripts/car_behaviour.gd | |
parent | 1782e704c10c4ddf2955f72dd32ca4d068aec3e0 (diff) | |
parent | f590408e30faa9bbb29969348a4f3b6328eed491 (diff) | |
download | 2023-e7845dfe77cafebd30efb660ef56006d5388efb1.tar.gz 2023-e7845dfe77cafebd30efb660ef56006d5388efb1.tar.bz2 2023-e7845dfe77cafebd30efb660ef56006d5388efb1.zip |
Merge branch 'master' of bunny.garden:jam/gmtk/2022
the commit.
Diffstat (limited to 'Scripts/car_behaviour.gd')
-rw-r--r-- | Scripts/car_behaviour.gd | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Scripts/car_behaviour.gd b/Scripts/car_behaviour.gd index 8c22bf3..1a69b37 100644 --- a/Scripts/car_behaviour.gd +++ b/Scripts/car_behaviour.gd @@ -29,7 +29,10 @@ func _ready(): func _physics_process(delta): if not driving: + $Sprite2D.hide() return + + $Sprite2D.show() # Code for getting the next desired direction based on the environment set_interest() |