Fixes door wand not working (#28122)

* Fixes door wand not working

* Update code/modules/projectiles/projectile/magic_projectiles.dm

Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com>
Signed-off-by: 1080pCat <96908085+1080pCat@users.noreply.github.com>

---------

Signed-off-by: 1080pCat <96908085+1080pCat@users.noreply.github.com>
Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com>
This commit is contained in:
1080pCat
2025-02-06 00:45:55 +10:00
committed by GitHub
parent e3f73e178d
commit b2ca8e6411
@@ -172,8 +172,6 @@
/obj/item/projectile/magic/door/on_hit(atom/target)
. = ..()
if(!.)
return .
var/atom/T = target.loc
if(isturf(target) && target.density)
if(!(istype(target, /turf/simulated/wall/indestructible)))