mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-24 04:28:12 +01:00
Merge pull request #16889 from Kashargul/droppingPartTwo
properly forwards the user on dropped
This commit is contained in:
@@ -58,7 +58,7 @@
|
||||
if(!wax)
|
||||
new/obj/item/trash/candle(src.loc)
|
||||
if(istype(src.loc, /mob))
|
||||
src.dropped()
|
||||
src.dropped(src.loc)
|
||||
qdel(src)
|
||||
update_icon()
|
||||
if(istype(loc, /turf)) //start a fire if possible
|
||||
|
||||
@@ -311,12 +311,12 @@ var/last_chew = 0
|
||||
|
||||
var/mob/living/carbon/human/H = target
|
||||
if(!istype(H))
|
||||
src.dropped()
|
||||
src.dropped(user)
|
||||
return 0
|
||||
|
||||
if(!H.has_organ_for_slot(slot_legcuffed))
|
||||
H.visible_message(span_infoplain(span_bold("\The [src]") + " slams into [H], but slides off!"))
|
||||
src.dropped()
|
||||
src.dropped(user)
|
||||
return 0
|
||||
|
||||
H.visible_message(span_danger("\The [H] has been snared by \the [src]!"))
|
||||
|
||||
Reference in New Issue
Block a user