From 598388b38cd4eb2b1f4912b0810f7ebd43dbab6d Mon Sep 17 00:00:00 2001 From: Kyep <16434066+Kyep@users.noreply.github.com> Date: Mon, 3 Aug 2020 05:22:56 +0000 Subject: [PATCH] Fixes a cause of "Runtime in ,:" (#13976) Co-authored-by: Kyep --- code/datums/mind.dm | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/code/datums/mind.dm b/code/datums/mind.dm index 2f22e58d37b..103865bee94 100644 --- a/code/datums/mind.dm +++ b/code/datums/mind.dm @@ -1419,9 +1419,10 @@ return A /datum/mind/proc/announce_objectives() - to_chat(current, "Your current objectives:") - for(var/line in splittext(gen_objective_text(), "
")) - to_chat(current, line) + if(current) + to_chat(current, "Your current objectives:") + for(var/line in splittext(gen_objective_text(), "
")) + to_chat(current, line) /datum/mind/proc/find_syndicate_uplink() var/list/L = current.get_contents()