From 8a48bb0ece755afb1dd5599e3be8a045551c5b9e Mon Sep 17 00:00:00 2001 From: Leshana Date: Fri, 3 Mar 2017 19:07:40 -0500 Subject: [PATCH] Fix server startup runtimes from uninitaizlied using_map * That if statement wasn't heping anyone as it was. * Strangely however, even an `if(using_map)` doesn't help, as using_map is in some crazy BYOND limbo state at that point in world init. but checking istype() succeeds in figuring out its not real. --- code/_helpers/names.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/_helpers/names.dm b/code/_helpers/names.dm index cea166b9156..20f7b2b31da 100644 --- a/code/_helpers/names.dm +++ b/code/_helpers/names.dm @@ -16,7 +16,7 @@ var/church_name = null return name /proc/command_name() - if (using_map.boss_name) + if(istype(using_map)) return using_map.boss_name /proc/change_command_name(var/name)