fix shots being cancelled after first miss

pull/1/head
curious-broccoli 2023-10-02 15:26:22 +07:00 committed by GitHub
parent 2a6515db63
commit 8f57ba0f48
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()