mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-24 21:48:39 +01:00
Fixes removing attachments from guns (#64376)
resolves #64211 canUseTopic check for removing gun attachments was reversed. So, you couldn't remove attachments unless you're out of reach of the gun or something.
This commit is contained in:
@@ -459,7 +459,7 @@
|
||||
var/obj/item/item_to_remove = tgui_input_list(user, "Attachment to remove", "Attachment Removal", sort_names(possible_items))
|
||||
if(isnull(item_to_remove))
|
||||
return
|
||||
if(user.canUseTopic(src, BE_CLOSE, FALSE, NO_TK))
|
||||
if(!user.canUseTopic(src, BE_CLOSE, FALSE, NO_TK))
|
||||
return
|
||||
return remove_gun_attachment(user, I, item_to_remove)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user