mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-29 16:18:01 +01:00
Fixes a logic error in disposal bin hitby (thrown objects don't always have a throwing mob) (#73296)
A throwing datum does not always have a throwing mob, and code should respect that
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user