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
+1 -1
View File
@@ -41,7 +41,7 @@
// if 2fast, throw the person, otherwise they just slide off, if there's reasonable speed at all
if(speed && A.move_resist < INFINITY)
var/dist = max(throw_dist * speed / MAX_SPEED, 1)
A.throw_at(get_distant_turf(get_turf(src), REVERSE_DIR(dir), dist), A.throw_range, A.throw_speed, src, 1)
A.throw_at(get_distant_turf(get_turf(src), REVERSE_DIR(dir), dist), A.throw_range, A.throw_speed, null, 1)
/obj/machinery/power/treadmill/process()
if(!anchored)