Update items.dm (#17815)

This commit is contained in:
SteelSlayer
2022-05-17 08:05:27 +09:00
committed by GitHub
parent 052e296e8a
commit a39672ae10
+1 -1
View File
@@ -652,7 +652,7 @@ GLOBAL_DATUM_INIT(fire_overlay, /image, image("icon" = 'icons/goonstation/effect
return hit_atom.hitby(src, 0, itempush, throwingdatum = throwingdatum)
/obj/item/throw_at(atom/target, range, speed, mob/thrower, spin=1, diagonals_first = 0, datum/callback/callback, force)
thrownby = thrower.UID()
thrownby = thrower?.UID()
callback = CALLBACK(src, .proc/after_throw, callback) //replace their callback with our own
. = ..(target, range, speed, thrower, spin, diagonals_first, callback, force)