mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 11:37:40 +01:00
Hostile mobs will now destroy windoors
This commit is contained in:
@@ -271,6 +271,8 @@
|
||||
for(var/atom/A in T)
|
||||
if(!A.Adjacent(src))
|
||||
continue
|
||||
if(istype(A, /obj/structure/window) || istype(A, /obj/structure/closet) || istype(A, /obj/structure/table) || istype(A, /obj/structure/grille) || istype(A, /obj/structure/rack))
|
||||
if(istype(A, /obj/structure/window) || istype(A, /obj/structure/closet) || \
|
||||
istype(A, /obj/structure/table) || istype(A, /obj/structure/grille) || \
|
||||
istype(A, /obj/structure/rack) || istype(A, /obj/machinery/door/window))
|
||||
A.attack_animal(src)
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user