From aee7050095ccbb320d7376b82140fc446f56331f Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Sat, 11 Feb 2023 07:28:51 +0100 Subject: [PATCH] [MIRROR] Fixes a logic error in disposal bin hitby (thrown objects don't always have a throwing mob) [MDB IGNORE] (#19261) * Fixes a logic error in disposal bin hitby (thrown objects don't always have a throwing mob) * Update bin.dm --------- Co-authored-by: Zephyr <12817816+ZephyrTFA@users.noreply.github.com> Co-authored-by: lessthanthree <83487515+lessthnthree@users.noreply.github.com> --- code/controllers/subsystem/throwing.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/controllers/subsystem/throwing.dm b/code/controllers/subsystem/throwing.dm index 97c920125ab..184a56fea58 100644 --- a/code/controllers/subsystem/throwing.dm +++ b/code/controllers/subsystem/throwing.dm @@ -57,7 +57,7 @@ SUBSYSTEM_DEF(throwing) var/maxrange ///The speed of the projectile thrownthing being thrown. var/speed - ///If a mob is the one who has thrown the object, then it's moved here. + ///If a mob is the one who has thrown the object, then it's moved here. This can be null and must be null checked before trying to use it. var/mob/thrower ///A variable that helps in describing objects thrown at an angle, if it should be moved diagonally first or last. var/diagonals_first