From cf1ffd273a4b8452f3fd7b5205eedce270116a8b Mon Sep 17 00:00:00 2001 From: PsiOmegaDelta Date: Wed, 5 Aug 2015 09:33:34 +0200 Subject: [PATCH] Fixes holodeck runtime. initial() doesn't work well with lists. Causes a null value. --- code/modules/holodeck/HolodeckControl.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/holodeck/HolodeckControl.dm b/code/modules/holodeck/HolodeckControl.dm index 45eaf758f9..0509bf3d86 100644 --- a/code/modules/holodeck/HolodeckControl.dm +++ b/code/modules/holodeck/HolodeckControl.dm @@ -291,7 +291,7 @@ if(HP.ambience) linkedholodeck.forced_ambience = HP.ambience else - linkedholodeck.forced_ambience = initial(linkedholodeck.ambience) + linkedholodeck.forced_ambience = list() for(var/mob/living/M in mobs_in_area(linkedholodeck)) if(M.mind)