From 1f26b78b9748129a5c82648b955e3f162aee2aeb Mon Sep 17 00:00:00 2001 From: warriorstar-orion Date: Sun, 26 Jan 2025 15:38:12 -0500 Subject: [PATCH] reset glide size for thrown objects once throw ends (#28126) --- code/controllers/subsystem/SSthrowing.dm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/code/controllers/subsystem/SSthrowing.dm b/code/controllers/subsystem/SSthrowing.dm index 3d570ef67f0..24f64073286 100644 --- a/code/controllers/subsystem/SSthrowing.dm +++ b/code/controllers/subsystem/SSthrowing.dm @@ -254,6 +254,9 @@ SUBSYSTEM_DEF(throwing) else thrownthing.newtonian_move(init_dir) + // Attempt to reset glide size once throw ends + thrownthing.set_glide_size(initial(thrownthing.glide_size)) + if(target) thrownthing.throw_impact(target, src) if(QDELETED(thrownthing)) //throw_impact can delete things, such as glasses smashing