Skip to content

Commit

Permalink
actually fixes m4ra custom barrel offset (#4265)
Browse files Browse the repository at this point in the history
# About the pull request

I'm very confused, one day this is the correct thing that fixes the
offset and the next it breaks it. I literally tested it, but I guess the
old offsets are right? Maybe?

# Explain why it's good for the game


# Testing Photographs and Procedure
<details>
<summary>Screenshots & Videos</summary>

Put screenshots and videos here with an empty line between the
screenshots and the `<details>` tags.

</details>


# Changelog
:cl:
fix: actually fixes m4ra custom barrel offset
/:cl:
  • Loading branch information
CapCamIII authored Aug 27, 2023
1 parent b788db1 commit 71afcf7
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 @@ -567,7 +567,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" = 39, "special_y" = 17)
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)

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

0 comments on commit 71afcf7

Please sign in to comment.