diff --git a/code/game/objects/structures/safe.dm b/code/game/objects/structures/safe.dm
index 3122633be50..fb5f3e5783d 100644
--- a/code/game/objects/structures/safe.dm
+++ b/code/game/objects/structures/safe.dm
@@ -26,7 +26,6 @@ GLOBAL_LIST_EMPTY(safes)
var/dial = 0 //where is the dial pointing?
var/space = 0 //the combined w_class of everything in the safe
var/maxspace = 24 //the maximum combined w_class of stuff in the safe
- var/combo_to_open //so admins know the code
var/obj/item/thermal_drill/drill = null
var/drill_timer
var/time_to_drill
@@ -39,24 +38,11 @@ GLOBAL_LIST_EMPTY(safes)
/obj/structure/safe/New()
GLOB.safes += src
- tumbler_2_pos = rand(0, 99) // first value in the combination set first
- tumbler_2_open = rand(0, 99)
-
- tumbler_1_pos = rand(0, 99)
- tumbler_1_open = rand(0, 99)
- while(tumbler_1_open > Wrap(tumbler_2_open +48, 0, 100) && tumbler_1_open < Wrap(tumbler_2_open + 53, 0, 100)) // prevents a combination that wont open
- do
- open_pos = rand(0,99)
- while(open_pos > Wrap(tumbler_1_open - 2, 0, 100) && open_pos < Wrap(tumbler_1_open + 2, 0, 100)) // prevents a combination that wont open
- var/num1 = tumbler_2_open + 54
- if(num1 > 99)
- num1 = num1 - 100
- var/num2 = tumbler_1_open + 98
- if(num2 > 99)
- num2 = num2 - 100
-
- combo_to_open = "[num1] - [num2]"
+ tumbler_1_pos = rand(0, 71)
+ tumbler_1_open = rand(0, 71)
+ tumbler_2_pos = rand(0, 71) // first value in the combination set first
+ tumbler_2_open = rand(0, 71)
/obj/structure/safe/Initialize()
..()
@@ -325,7 +311,7 @@ GLOBAL_LIST_EMPTY(safes)
/obj/structure/safe/examine(mob/user)
..()
if(open)
- to_chat(user, "On the inside of the the door is [combo_to_open]")
+ to_chat(user, "On the inside of the the door is [tumbler_1_open] - [tumbler_2_open]")
//FLOOR SAFES
/obj/structure/safe/floor
@@ -363,6 +349,6 @@ GLOBAL_LIST_EMPTY(safes)
for(var/safe in GLOB.safes)
var/obj/structure/safe/S = safe
if(owner in S.knownby)
- info += "
The combination for the safe located in the [get_area(S).name] is: [S.combo_to_open]
"
+ info += "
The combination for the safe located in the [get_area(S).name] is: [S.tumbler_1_open] - [S.tumbler_2_open]]
"
info_links = info
update_icon()
\ No newline at end of file