mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
Merge pull request #13809 from Heroman3003/abandon-crate-fix
Adjusts abandoned crate content self-destruct
This commit is contained in:
@@ -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)
|
||||
..()
|
||||
@@ -1,2 +1,2 @@
|
||||
/obj/structure/closet/crate/secure/loot
|
||||
tamper_proof = 1
|
||||
tamper_proof = 2
|
||||
Reference in New Issue
Block a user