Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.

Commit 5702162

Browse files
authored
Vines slapped (#21430)
1 parent 167c0ed commit 5702162

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

code/game/mecha/equipment/weapons/melee_weapons.dm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@
199199

200200
if((isstructure(A) || ismachinery(A) || istype(A, /obj/mecha)) && can_stab_at(chassis, A)) //if it's a big thing we hit anyways. Structures ALWAYS are hit, machines and mechs can be protected
201201
var/obj/O = A
202-
if(!O.density) //Make sure it's not an open door or something
202+
if(!O.density && !istype(O, /obj/structure/spacevine)) //Make sure it's not an open door or something
203203
continue
204204
var/object_damage = max(chassis.force + weapon_damage, minimum_damage) * structure_damage_mult * (istype(A, /obj/mecha) ? mech_damage_multiplier : 1) //Half damage on mechs
205205
O.take_damage(object_damage, dam_type, "melee", 0)

0 commit comments

Comments
 (0)