From 78533e328bd51a1ce2889f1d91f2421bbe77fc91 Mon Sep 17 00:00:00 2001 From: Verkister Date: Thu, 8 Feb 2018 19:27:24 +0200 Subject: [PATCH] Fixes vis_enabled becoming unobtainable* *(If something happens to apply plane_holder to mob before login) Yeah a feature somewhere down there relied on the mob getting its plane_holder before client (and thus making the only vis_enabled init right here that required the lack of plane_holder on login completely unobtainable) and I was vaguely told to fix this here instead of fixing the forementioned downstream feature. --- code/modules/mob/login.dm | 1 + 1 file changed, 1 insertion(+) diff --git a/code/modules/mob/login.dm b/code/modules/mob/login.dm index 39f2fe2451..808ca7f102 100644 --- a/code/modules/mob/login.dm +++ b/code/modules/mob/login.dm @@ -50,6 +50,7 @@ if(!plane_holder) //Lazy plane_holder = new(src) //Not a location, it takes it and saves it. + if(!vis_enabled) vis_enabled = list() client.screen += plane_holder.plane_masters recalculate_vis()