From 5480a88a62e5f1d37ee36ec9080df95677988eef Mon Sep 17 00:00:00 2001 From: bearrrrrrrrr Date: Wed, 10 Jan 2024 08:50:43 -0500 Subject: [PATCH] annoyingly, this seems to be the only way to do sprites. it otherwise calls from the wrong file --- code/modules/projectiles/guns/rifles.dm | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/code/modules/projectiles/guns/rifles.dm b/code/modules/projectiles/guns/rifles.dm index b646f3b109..0302deed9b 100644 --- a/code/modules/projectiles/guns/rifles.dm +++ b/code/modules/projectiles/guns/rifles.dm @@ -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)