Merge pull request #914 from ArchieBeepBoop/hatfix

To the town of agua fria rode a stranger one fine day (Fixes hat throwing)
This commit is contained in:
QuoteFox
2021-01-21 14:20:12 +00:00
committed by GitHub
7 changed files with 37 additions and 3 deletions
+2
View File
@@ -627,6 +627,8 @@
TT.diagonals_first = diagonals_first
TT.force = force
TT.callback = callback
if(!QDELETED(thrower))
TT.target_zone = thrower.zone_selected
var/dist_x = abs(target.x - src.x)
var/dist_y = abs(target.y - src.y)