[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>
This commit is contained in:
SkyratBot
2023-02-11 07:28:51 +01:00
committed by GitHub
parent c04f443800
commit aee7050095
+1 -1
View File
@@ -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