Skip to content

Commit

Permalink
Fixes pointing
Browse files Browse the repository at this point in the history
  • Loading branch information
Watermelon914 authored and Watermelon914 committed Sep 6, 2024
1 parent aa85e51 commit dba26e8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion code/_onclick/human.dm
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
if(mods[SHIFT_CLICK] && mods[LEFT_CLICK])
use_ability = TRUE
if(XENO_ABILITY_CLICK_MIDDLE)
if(mods[MIDDLE_CLICK])
if(mods[MIDDLE_CLICK] && !mods[SHIFT_CLICK])
use_ability = TRUE
if(XENO_ABILITY_CLICK_RIGHT)
if(mods[RIGHT_CLICK])
Expand Down
2 changes: 1 addition & 1 deletion code/_onclick/xeno.dm
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ so that it doesn't double up on the delays) so that it applies the delay immedia
var/activate_ability = FALSE
switch(preference)
if(XENO_ABILITY_CLICK_MIDDLE)
activate_ability = middle_pressed
activate_ability = middle_pressed && !shift_pressed
if(XENO_ABILITY_CLICK_RIGHT)
activate_ability = right_pressed
if(XENO_ABILITY_CLICK_SHIFT)
Expand Down

0 comments on commit dba26e8

Please sign in to comment.