From b9dd5233a6902ba4543ce50fee8f49a0fe4703d7 Mon Sep 17 00:00:00 2001 From: Leshana Date: Sun, 16 Apr 2017 14:46:09 -0400 Subject: [PATCH] Fix mining turfs permenently unlit. * Mining turfs generated during random mapgen get their opacity changed without a call to recalc_atom_opacity() becuase the game ticker has not started. Make sure we call it even before that point. --- code/modules/mining/mine_turfs.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/mining/mine_turfs.dm b/code/modules/mining/mine_turfs.dm index 32ca92b311..bf59f3c382 100644 --- a/code/modules/mining/mine_turfs.dm +++ b/code/modules/mining/mine_turfs.dm @@ -81,8 +81,8 @@ var/list/mining_overlay_cache = list() /turf/simulated/mineral/proc/update_general() update_icon(1) + recalc_atom_opacity() if(ticker && ticker.current_state == GAME_STATE_PLAYING) - recalc_atom_opacity() reconsider_lights() if(air_master) air_master.mark_for_update(src)