Skip to content

Commit

Permalink
Fixes door wand not working (#28122)
Browse files Browse the repository at this point in the history
* Fixes door wand not working

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

Co-authored-by: Contrabang <[email protected]>
Signed-off-by: 1080pCat <[email protected]>

---------

Signed-off-by: 1080pCat <[email protected]>
Co-authored-by: Contrabang <[email protected]>
  • Loading branch information
1080pCat and Contrabang authored Feb 5, 2025
1 parent e3f73e1 commit b2ca8e6
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions code/modules/projectiles/projectile/magic_projectiles.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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)))
Expand Down

0 comments on commit b2ca8e6

Please sign in to comment.