From 7d5cb5a21651b98df75886220c446602674ba7ee Mon Sep 17 00:00:00 2001 From: warior4356 Date: Wed, 24 Oct 2018 15:45:10 -0700 Subject: [PATCH] Fixed safe noises Fixed unlock noises coming from tumbler 2 on every turn of tumbler 1, once tumbler 2 was unlocked. --- code/game/objects/structures/safe.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/game/objects/structures/safe.dm b/code/game/objects/structures/safe.dm index 7cee3769888..26948f5a23c 100644 --- a/code/game/objects/structures/safe.dm +++ b/code/game/objects/structures/safe.dm @@ -70,9 +70,9 @@ FLOOR SAFES to_chat(user, "You hear a [pick("clack", "scrape", "clank")] from [src].") if(tum2 && (turns_total == 1 || prob(10))) // So multi turns dont super spam the chat to_chat(user, "You hear a [pick("click", "chink", "clink")] from [src].") - if(tumbler_1_pos == tumbler_1_open && turns_total == 1) // You cant hear tumblers if you spin fast! + if(tumbler_1_pos == tumbler_1_open && turns_total == 1 && tum1) // You cant hear tumblers if you spin fast! to_chat(user, "You hear a [pick("tonk", "krunk", "plunk")] from [src].") - if(tumbler_2_pos == tumbler_2_open && turns_total == 1 ) // You cant hear tumblers if you spin fast! + if(tumbler_2_pos == tumbler_2_open && turns_total == 1 && tum2) // You cant hear tumblers if you spin fast! to_chat(user, "You hear a [pick("tink", "krink", "plink")] from [src].") if(unlocked) if(user)