Skip to content

Commit

Permalink
annoyingly, this seems to be the only way to do sprites. it otherwise…
Browse files Browse the repository at this point in the history
… calls from the wrong file
  • Loading branch information
bearrrrrrrr committed Jan 10, 2024
1 parent 398a0dd commit 5480a88
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions code/modules/projectiles/guns/rifles.dm
Original file line number Diff line number Diff line change
Expand Up @@ -1624,6 +1624,13 @@
aim_slowdown = SLOWDOWN_ADS_QUICK
map_specific_decoration = FALSE

// obnoxiously enough, need to do this manually...
item_icons = list(
WEAR_L_HAND = 'icons/obj/items/weapons/guns/guns_by_map/urban/guns_lefthand.dmi',
WEAR_R_HAND = 'icons/obj/items/weapons/guns/guns_by_map/urban/guns_righthand.dmi',
WEAR_BACK = 'icons/obj/items/weapons/guns/guns_by_map/urban/back.dmi'
)

/obj/item/weapon/gun/rifle/m4ra/pve/handle_starting_attachment()
..()
var/obj/item/attachable/m4ra_barrel/pve/integrated = new(src)
Expand Down

0 comments on commit 5480a88

Please sign in to comment.