From 0aae9f90b96c6aa8f4681c9f5437d898f47089c8 Mon Sep 17 00:00:00 2001 From: Mark Suckerberg Date: Fri, 8 Dec 2023 11:39:03 -0600 Subject: [PATCH] wrong way around --- code/modules/admin/chat_commands.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/admin/chat_commands.dm b/code/modules/admin/chat_commands.dm index e9c894591716e..894291adef8d0 100644 --- a/code/modules/admin/chat_commands.dm +++ b/code/modules/admin/chat_commands.dm @@ -88,7 +88,7 @@ embed.fields = list() for(var/datum/controller/subsystem/sub_system as anything in Master.subsystems) - if(params && !findtext(params, sub_system.name)) + if(params && !findtext(sub_system.name, params)) continue var/datum/tgs_chat_embed/field/sub_system_entry = new ("\[[sub_system.state_letter()]] [sub_system.name]", sub_system.stat_entry()) sub_system_entry.is_inline = TRUE