makes sniper zooming work

This commit is contained in:
Putnam
2021-05-30 00:31:20 -07:00
parent 4ca4d02fd8
commit 2ab05d1247
+6 -1
View File
@@ -569,11 +569,16 @@
. = ..()
if(!.)
var/obj/item/gun/G = target
G.zoom(owner, owner.dir, FALSE)
/datum/action/item_action/toggle_scope_zoom/Trigger()
. = ..()
if(.)
G.zoom(owner, owner.dir)
/datum/action/item_action/toggle_scope_zoom/Remove(mob/living/L)
var/obj/item/gun/G = target
G.zoom(L, L.dir)
G.zoom(L, L.dir, FALSE)
return ..()
/obj/item/gun/proc/rotate(atom/thing, old_dir, new_dir)