mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
Fixes holodeck runtime.
initial() doesn't work well with lists. Causes a null value.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user