Skip to content

Commit

Permalink
Code clarity.
Browse files Browse the repository at this point in the history
  • Loading branch information
Segrain committed Jun 23, 2023
1 parent c7f7ff5 commit a9ab0c7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion code/_onclick/click.dm
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,9 @@
return

// Click handled elsewhere. (These clicks are not affected by the next_move cooldown)
if (click(A, mods) || A.clicked(src, mods, location, params))
if(click(A, mods))
return
if(A.clicked(src, mods, location, params))
return

// Default click functions from here on.
Expand Down

0 comments on commit a9ab0c7

Please sign in to comment.