mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-20 11:34:19 +01:00
Everything else through the door (#19358)
This commit is contained in:
@@ -63,7 +63,7 @@
|
||||
light_color = LIGHT_COLOR_DARKBLUE
|
||||
|
||||
/obj/item/projectile/beam/pulse/on_hit(atom/target, blocked = 0)
|
||||
if(istype(target,/turf/)||istype(target,/obj/structure/))
|
||||
if(istype(target,/turf/) || isstructure(target))
|
||||
target.ex_act(2)
|
||||
..()
|
||||
|
||||
|
||||
@@ -297,7 +297,7 @@
|
||||
|
||||
/obj/item/projectile/magic/animate/Bump(atom/change)
|
||||
..()
|
||||
if(isitem(change) || istype(change, /obj/structure) && !is_type_in_list(change, GLOB.protected_objects))
|
||||
if(isitem(change) || isstructure(change) && !is_type_in_list(change, GLOB.protected_objects))
|
||||
if(istype(change, /obj/structure/closet/statue))
|
||||
for(var/mob/living/carbon/human/H in change.contents)
|
||||
var/mob/living/simple_animal/hostile/statue/S = new /mob/living/simple_animal/hostile/statue(change.loc, firer)
|
||||
|
||||
Reference in New Issue
Block a user