bluespace spellblade and modsuit teleporter module work better (#25900)

* bluespace spellblade and modsuit teleporter module work better

* nah this should stay 7

* 7 ate 9
This commit is contained in:
Qwertytoforty
2024-06-22 19:16:01 -04:00
committed by GitHub
parent 32d4a2ecf4
commit e7adf789e1
2 changed files with 4 additions and 2 deletions
@@ -296,7 +296,9 @@
if(!.)
return
var/turf/user_turf = get_turf(user)
if(!(target in view(7, user_turf))) // no camera shenangians
if(get_dist(user_turf, get_turf(target)) > 9) //blocks cameras without blocking xray or thermals
return
if(!((target in view(9, user)) || user.sight & SEE_MOBS))
return
var/list/turfs = list()
for(var/turf/T in orange(1, get_turf(target)))