Fixes holodeck runtime.

initial() doesn't work well with lists. Causes a null value.
This commit is contained in:
PsiOmegaDelta
2015-08-05 09:33:34 +02:00
parent 615333fa5c
commit cf1ffd273a

View File

@@ -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)