Merge pull request #44208 from 4dplanner/throw

Thrown objects phase through thrower
This commit is contained in:
oranges
2019-06-03 11:05:46 +12:00
committed by GitHub
3 changed files with 3 additions and 3 deletions

View File

@@ -155,7 +155,7 @@ SUBSYSTEM_DEF(throwing)
/datum/thrownthing/proc/hitcheck()
for (var/thing in get_turf(thrownthing))
var/atom/movable/AM = thing
if (AM == thrownthing)
if (AM == thrownthing || (AM == thrower && !ismob(thrownthing)))
continue
if (AM.density && !(AM.pass_flags & LETPASSTHROW) && !(AM.flags_1 & ON_BORDER_1))
finalize(hit=TRUE, target=AM)