Skip to content

Commit

Permalink
crusher no longer lags out clients by infinitely ramming a buckled pe…
Browse files Browse the repository at this point in the history
…rson (#155)
  • Loading branch information
AndroBetel authored Mar 18, 2024
1 parent ee5a956 commit 8b23460
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,8 @@
continue

shake_camera(hit_human, 4, 2)
if(hit_human.buckled)
hit_human.buckled.unbuckle()
INVOKE_ASYNC(GLOBAL_PROC, GLOBAL_PROC_REF(xeno_throw_human), hit_human, xeno, get_dir(xeno, hit_human), 1, FALSE)
to_chat(hit_human, SPAN_XENOHIGHDANGER("You fall backwards as [xeno] gives you a glancing blow!"))
hit_human.take_overall_armored_damage(momentum * 4)
Expand Down

0 comments on commit 8b23460

Please sign in to comment.