Skip to content

Commit

Permalink
fixed a duplicate on my part
Browse files Browse the repository at this point in the history
  • Loading branch information
Staykeu committed Jan 2, 2024
1 parent 7c3dd3f commit 6b90875
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions code/modules/clothing/glasses/glasses.dm
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,6 @@
var/obj/item/clothing/glasses/offhand = user.get_inactive_hand()
if(istype(offhand) && !offhand.prescription)
if(tgui_alert(user, "Do you wish to take out the prescription lenses and put them in [offhand]?", "Insert Prescription Lenses", list("Yes", "No")) == "Yes")
if(QDELETED(src) || offhand != user.get_inactive_hand())
return FALSE
if(QDELETED(src) || offhand != user.get_inactive_hand())
return FALSE
offhand.prescription = TRUE
Expand Down

0 comments on commit 6b90875

Please sign in to comment.