Skip to content

Commit

Permalink
bugfix: Throwing Fix (#3793)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gottfrei authored Oct 29, 2023
1 parent 33b6c30 commit b202cc2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions code/controllers/subsystem/throwing.dm
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,10 @@ SUBSYSTEM_DEF(throwing)

AM.Move(step, get_dir(AM, step))

if(!AM.throwing) // we hit something during our move
finalize(hit = TRUE)
return

dist_travelled++

if(dist_travelled > MAX_THROWING_DIST)
Expand Down

0 comments on commit b202cc2

Please sign in to comment.