Skip to content

Commit

Permalink
Fix issue with middle mouse swap hands
Browse files Browse the repository at this point in the history
  • Loading branch information
Zonespace27 committed Nov 19, 2023
1 parent 9e45fbc commit 7e78531
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/_onclick/other_mobs.dm
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
var/obj/structure/S = A
S.do_climb(src, mods)
return TRUE
else if(!(isitem(A) && get_dist(src, A) <= 1) && client.prefs.toggle_prefs & TOGGLE_MIDDLE_MOUSE_SWAP_HANDS)
else if(!(isitem(A) && get_dist(src, A) <= 1) && (client && (client.prefs.toggle_prefs & TOGGLE_MIDDLE_MOUSE_SWAP_HANDS)))
swap_hand()
return TRUE

Expand Down

0 comments on commit 7e78531

Please sign in to comment.