Skip to content

Commit

Permalink
Make that a bit more clear I guess?
Browse files Browse the repository at this point in the history
  • Loading branch information
Absolucy committed Dec 15, 2024
1 parent 5f10ddc commit b11d6bd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit b11d6bd

Please sign in to comment.