Singletons + refactor of /datum/observ (#15487)

This commit is contained in:
Fluffy
2023-01-05 18:41:40 +01:00
committed by GitHub
parent 95f8207f08
commit 0ddcf0817a
507 changed files with 7603 additions and 7214 deletions

View File

@@ -165,7 +165,7 @@
if(reagents_length)
to_chat(user, SPAN_NOTICE("[reagents_length] chemical agent[reagents_length > 1 ? "s" : ""] found."))
for(var/_re in A.reagents.reagent_volumes)
var/decl/reagent/re = decls_repository.get_decl(_re)
var/singleton/reagent/re = GET_SINGLETON(_re)
to_chat(user, SPAN_NOTICE(" [re.name]"))
else
to_chat(user, SPAN_NOTICE("No active chemical agents found in [A]."))