mirror of
https://github.com/yogstation13/Yogstation.git
synced 2025-02-26 09:04:50 +00:00
Passes thrownthing to hitby (#41411)
* Passes thrownthing to hitby * Items now also pass thrownthing * No longer uses default arguments Also fixes bananium shield * Adds more arguments to hitby calls * Standardises throw_impact * Clears up some loose ends * Adds back wacky comment * Reinstates can_push=FALSE on bananium shield
This commit is contained in:
committed by
yogstation13-bot
parent
8c530d1b19
commit
8d1be69d22
@@ -759,7 +759,7 @@
|
||||
/obj/item/light/bulb/broken
|
||||
status = LIGHT_BROKEN
|
||||
|
||||
/obj/item/light/throw_impact(atom/hit_atom)
|
||||
/obj/item/light/throw_impact(atom/hit_atom, datum/thrownthing/throwingdatum)
|
||||
if(!..()) //not caught by a mob
|
||||
shatter()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user