makes sniper zooming work
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user