mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 20:48:56 +01:00
Removes irrelevant damage deflection code from secure_closets.dm (#46720)
Did I test it? No I didn't.
This commit is contained in:
committed by
Emmett Gaines
parent
483f026a3d
commit
bd3bc5463b
@@ -6,8 +6,4 @@
|
||||
max_integrity = 250
|
||||
armor = list("melee" = 30, "bullet" = 50, "laser" = 50, "energy" = 100, "bomb" = 0, "bio" = 0, "rad" = 0, "fire" = 80, "acid" = 80)
|
||||
secure = TRUE
|
||||
|
||||
/obj/structure/closet/secure_closet/run_obj_armor(damage_amount, damage_type, damage_flag = 0, attack_dir)
|
||||
if(damage_flag == "melee" && damage_amount < 20)
|
||||
return 0
|
||||
. = ..()
|
||||
damage_deflection = 20
|
||||
Reference in New Issue
Block a user