Merge pull request #13809 from Heroman3003/abandon-crate-fix

Adjusts abandoned crate content self-destruct
This commit is contained in:
C.L
2022-09-25 18:42:18 -04:00
committed by CHOMPStation2
parent 16cdb0dd2f
commit 0853131f66
2 changed files with 1 additions and 8 deletions

View File

@@ -216,11 +216,4 @@
previousattempt = addtext(previousattempt, lastattempt[i])
to_chat(user, "<span class='notice'>Last code attempt, [previousattempt], had [bulls] correct digits at correct positions and [cows] correct digits at incorrect positions.</span>")
return
..()
/obj/structure/closet/crate/secure/loot/damage(var/damage)
if(contents.len)
visible_message("<font color='red'><b>[src] makes a grinding noise as its contents are destroyed by the deca-lock safety!</b></font>")
for(var/obj/O in src.contents)
qdel(O)
..()

View File

@@ -1,2 +1,2 @@
/obj/structure/closet/crate/secure/loot
tamper_proof = 1
tamper_proof = 2