Merge pull request #3050 from Citadel-Station-13/upstream-merge-31162
[MIRROR] Fixes plasma cutters only hitting one tile
This commit is contained in:
@@ -155,7 +155,7 @@
|
||||
icon_state = "wall"
|
||||
|
||||
/turf/closed/bullet_act(obj/item/projectile/Proj)
|
||||
..()
|
||||
. = ..()
|
||||
if(!Proj.nodamage && (Proj.damage_type == BRUTE || Proj.damage_type == BURN))
|
||||
var/mutable_appearance/bullet_hole = mutable_appearance('icons/effects/effects.dmi', "bullet_hole", BULLET_HOLE_LAYER)
|
||||
|
||||
@@ -165,4 +165,4 @@
|
||||
var/random_y = rand(-13, 13)
|
||||
bullet_hole.pixel_y += random_y
|
||||
|
||||
add_overlay(bullet_hole, TRUE)
|
||||
add_overlay(bullet_hole, TRUE)
|
||||
|
||||
Reference in New Issue
Block a user