Skip to content

Commit

Permalink
a
Browse files Browse the repository at this point in the history
  • Loading branch information
Zonespace27 committed Feb 21, 2024
1 parent 272d5ec commit 90d7aba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/modules/vehicles/multitile/multitile_hardpoints.dm
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@
hps += H

var/chosen_hp = tgui_input_list(usr, "Select a hardpoint to remove", "Hardpoint Removal", (hps + "Cancel"))
if(chosen_hp == "Cancel" || !chosen_hp || (get_dist(source, user) > 2)) //get_dist uses 2 because the vehicle is 3x3
if(chosen_hp == "Cancel" || !chosen_hp || (get_dist(src, user) > 2)) //get_dist uses 2 because the vehicle is 3x3
return

var/obj/item/hardpoint/old = chosen_hp
Expand Down

0 comments on commit 90d7aba

Please sign in to comment.