Skip to content

Commit

Permalink
Merge pull request Civ13#2603 from Bierkraan/working-branch
Browse files Browse the repository at this point in the history
Fix hotkeys being broken
  • Loading branch information
Bierkraan authored Jan 31, 2024
2 parents c006331 + 51a1879 commit e632596
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions code/game/mob/living/carbon/human/human.dm
Original file line number Diff line number Diff line change
Expand Up @@ -1074,7 +1074,7 @@ var/list/coefflist = list()
reagents.add_reagent("adrenaline", amount)

/mob/living/human/proc/using_look() //May not be nessecary
if(using_object)
if(using_object && istype(using_object, /obj/item/weapon/gun/projectile/automatic/stationary))
return TRUE
if(stat == CONSCIOUS)
if (client && actions.len)
Expand Down Expand Up @@ -1135,7 +1135,7 @@ var/list/coefflist = list()
var/obj/item/weapon/attachment/scope/adjustable/W = null
var/obj/item/weapon/gun/G = null
var/obj/item/weapon/gun/projectile/automatic/stationary/S = null
if(user.using_object)
if(user.using_object && istype(user.using_object, /obj/item/weapon/gun/projectile/automatic/stationary))
S = user.using_object
look_amount = S.zoom_amount
else if(istype(get_active_hand(), /obj/item/weapon/attachment/scope/adjustable))
Expand Down
2 changes: 1 addition & 1 deletion config/host.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
taislin
taislin
Binary file modified icons/mob/items/lefthand.dmi
Binary file not shown.
Binary file modified icons/mob/items/righthand.dmi
Binary file not shown.

0 comments on commit e632596

Please sign in to comment.