Merge pull request #1 from curious-broccoli/fix-shoot

fix shots being cancelled after first miss
pull/3/head
Kenney 2023-10-02 16:02:33 +07:00 committed by GitHub
commit 40a978fd94
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

@ -217,7 +217,7 @@ func action_shoot():
raycast.force_raycast_update()
if !raycast.is_colliding(): return # Don't create impact when raycast didn't hit
if !raycast.is_colliding(): continue # Don't create impact when raycast didn't hit
var collider = raycast.get_collider()