mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-13 16:13:19 +01:00
Let any item smash windows instead of just weapons.
This commit is contained in:
@@ -179,7 +179,7 @@ var/global/wcCommon = pick(list("#379963", "#0d8395", "#58b5c3", "#49e46e", "#8f
|
||||
attack_generic(user, rand(10, 15))
|
||||
|
||||
|
||||
/obj/structure/window/attackby(obj/item/weapon/W as obj, mob/living/user as mob, params)
|
||||
/obj/structure/window/attackby(obj/item/W as obj, mob/living/user as mob, params)
|
||||
if(!istype(W)) return//I really wish I did not need this
|
||||
if(istype(W, /obj/item/weapon/grab) && get_dist(src,user)<2)
|
||||
var/obj/item/weapon/grab/G = W
|
||||
|
||||
Reference in New Issue
Block a user