mirror of
https://github.com/fulpstation/fulpstation.git
synced 2025-12-10 18:11:47 +00:00
no caseless bouncing (#45361)
About The Pull Request prevents caseless ammo from bouncing away fixes some issues with guns that do not exist yet eyes
This commit is contained in:
@@ -73,11 +73,12 @@
|
||||
return ..()
|
||||
|
||||
/obj/item/ammo_casing/throw_impact(atom/hit_atom, datum/thrownthing/throwingdatum)
|
||||
if(heavy_metal)
|
||||
bounce_away(FALSE, NONE)
|
||||
bounce_away(FALSE, NONE)
|
||||
. = ..()
|
||||
|
||||
/obj/item/ammo_casing/proc/bounce_away(still_warm = FALSE, bounce_delay = 3)
|
||||
if(!heavy_metal)
|
||||
return
|
||||
update_icon()
|
||||
SpinAnimation(10, 1)
|
||||
var/turf/T = get_turf(src)
|
||||
|
||||
Reference in New Issue
Block a user