Some LWAP (and other scoped weapons) fixes (#25775)

* can't use lwap from lockers

* active hand flag

* rename SCOPE_CLICK_MIDDLE
This commit is contained in:
larentoun
2024-06-25 21:28:18 +00:00
committed by GitHub
parent 1166c3dcd3
commit 6b70c59c96
6 changed files with 28 additions and 15 deletions
+1 -1
View File
@@ -178,7 +178,7 @@
/obj/item/organ/internal/eyes/cybernetic/scope/Initialize(mapload)
. = ..()
AddComponent(/datum/component/scope, range_modifier = scope_range, item_action_type = /datum/action/item_action/organ_action/toggle, allow_middle_click = TRUE)
AddComponent(/datum/component/scope, range_modifier = scope_range, item_action_type = /datum/action/item_action/organ_action/toggle, flags = SCOPE_CLICK_MIDDLE)
/obj/item/organ/internal/eyes/cybernetic/scope/insert(mob/living/carbon/human/M, special)
. = ..()