From b11d6bd279d2cf20574c903e8b516161c78876c3 Mon Sep 17 00:00:00 2001 From: Lucy Date: Sun, 15 Dec 2024 12:07:28 -0500 Subject: [PATCH] Make that a bit more clear I guess? --- .../code/modules/cassettes/cassette_db/cassette_datum.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/monkestation/code/modules/cassettes/cassette_db/cassette_datum.dm b/monkestation/code/modules/cassettes/cassette_db/cassette_datum.dm index 47fc03b30560..fe262d232444 100644 --- a/monkestation/code/modules/cassettes/cassette_db/cassette_datum.dm +++ b/monkestation/code/modules/cassettes/cassette_db/cassette_datum.dm @@ -128,7 +128,7 @@ GLOBAL_LIST_INIT_TYPED(cassettes, /datum/cassette, load_all_cassettes()) RETURN_TYPE(/datum/cassette) if(!id) return null - if(GLOB.cassettes[id]) + if(id in GLOB.cassettes) return GLOB.cassettes[id] var/datum/cassette/cassette_data = load_cassette_raw(id) if(cassette_data)