mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
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.
This commit is contained in:
@@ -81,8 +81,8 @@ var/list/mining_overlay_cache = list()
|
|||||||
|
|
||||||
/turf/simulated/mineral/proc/update_general()
|
/turf/simulated/mineral/proc/update_general()
|
||||||
update_icon(1)
|
update_icon(1)
|
||||||
|
recalc_atom_opacity()
|
||||||
if(ticker && ticker.current_state == GAME_STATE_PLAYING)
|
if(ticker && ticker.current_state == GAME_STATE_PLAYING)
|
||||||
recalc_atom_opacity()
|
|
||||||
reconsider_lights()
|
reconsider_lights()
|
||||||
if(air_master)
|
if(air_master)
|
||||||
air_master.mark_for_update(src)
|
air_master.mark_for_update(src)
|
||||||
|
|||||||
Reference in New Issue
Block a user