Skip to content

Commit

Permalink
fixes m4ra custom barrel offset (cmss13-devs#4202)
Browse files Browse the repository at this point in the history
i accidentally deleted the pr form and i cant be bothered to re-open the
open pr page so you're getting this in a messed up version without big
text, πŸ–•

ABOUT THE PULL REQUEST OR SOMETHING

fixes the offset for m4ra custom's barrel, appropriately putting it on
the gun

WHY ITS GOOD FOR THE GAME PROBABLY

bugfix

Changelog

:cl:
fix: fixes the offset on m4ra custom barrel, it should appropriately be
sat right on the gun sprite
/:cl:
  • Loading branch information
CapCamIII committed Aug 21, 2023
1 parent 56de9b3 commit 96dae68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/modules/projectiles/guns/specialist.dm
Original file line number Diff line number Diff line change
Expand Up @@ -580,7 +580,7 @@


/obj/item/weapon/gun/rifle/m4ra_custom/set_gun_attachment_offsets()
attachable_offset = list("muzzle_x" = 43, "muzzle_y" = 17,"rail_x" = 23, "rail_y" = 21, "under_x" = 30, "under_y" = 11, "stock_x" = 24, "stock_y" = 13, "special_x" = 37, "special_y" = 16)
attachable_offset = list("muzzle_x" = 43, "muzzle_y" = 17,"rail_x" = 23, "rail_y" = 21, "under_x" = 30, "under_y" = 11, "stock_x" = 24, "stock_y" = 13, "special_x" = 39, "special_y" = 17)

/obj/item/weapon/gun/rifle/m4ra_custom/set_gun_config_values()
..()
Expand Down

0 comments on commit 96dae68

Please sign in to comment.