Minor throwing fixes (#26179)

* fix treadmill throwat

* fixes dropdel runtimes and end_throw() not being called

* dgl review
This commit is contained in:
chuga-git
2024-07-08 16:07:18 -05:00
committed by GitHub
parent b287cdb7bf
commit c1e97f712c
4 changed files with 10 additions and 7 deletions
@@ -694,11 +694,13 @@ GLOBAL_LIST_INIT(ventcrawl_machinery, list(/obj/machinery/atmospherics/unary/ven
to_chat(src, "<span class='notice'>You set [I] down gently on the ground.</span>")
return
if(thrown_thing)
if(!HAS_TRAIT(thrown_thing, TRAIT_NO_THROWN_MESSAGE))
visible_message("<span class='danger'>[src] has thrown [thrown_thing].</span>")
newtonian_move(get_dir(target, src))
thrown_thing.throw_at(target, thrown_thing.throw_range, thrown_thing.throw_speed, src, null, null, null, move_force)
if(QDELETED(thrown_thing))
return
if(!HAS_TRAIT(thrown_thing, TRAIT_NO_THROWN_MESSAGE))
visible_message("<span class='danger'>[src] has thrown [thrown_thing].</span>")
newtonian_move(get_dir(target, src))
thrown_thing.throw_at(target, thrown_thing.throw_range, thrown_thing.throw_speed, src, null, null, null, move_force)
/mob/living/carbon/can_use_hands()
if(handcuffed)