Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.

Commit d142bf2

Browse files
fix buster (#22879)
1 parent 9cbd335 commit d142bf2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

code/datums/martial/buster_style.dm

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,8 @@
231231

232232
/datum/martial_art/buster_style/proc/soar(mob/living/user, atom/movable/center, turf/endzone, distance = 0, list/lobbed) //proc for throwing something you picked up with grapple
233233
if(distance == 0)
234-
return
234+
thrown = null
235+
return COMSIG_MOB_CANCEL_CLICKON
235236
var/dir_to_target = get_dir(get_turf(center), endzone) //vars that let the thing be thrown while moving similar to things thrown normally
236237
var/turf/next = get_step(get_turf(center), dir_to_target)
237238
if(next.density) // crash into a wall and damage everything flying towards it before stopping
@@ -296,6 +297,7 @@
296297
var/atom/throw_target = get_edge_target_turf(K, dir_to_target)
297298
K.throw_at(throw_target, 6, 4, user, 3)
298299
addtimer(CALLBACK(src, PROC_REF(soar), user, center, endzone, distance-1, lobbed), 0.01 SECONDS)
300+
thrown = null
299301
return COMSIG_MOB_CANCEL_CLICKON
300302

301303
/*---------------------------------------------------------------

0 commit comments

Comments
 (0)