Merge pull request #4394 from VOREStation/upstream-merge-5652

[MIRROR] Fixes missing sprites when excavating rocks
This commit is contained in:
Aronai Sieyes
2018-10-16 12:18:35 -04:00
committed by GitHub

View File

@@ -452,6 +452,8 @@ var/list/mining_overlay_cache = list()
//update overlays displaying excavation level
if( !(excav_overlay && excavation_level > 0) || update_excav_overlay )
var/excav_quadrant = round(excavation_level / 25) + 1
if(excav_quadrant > 5)
excav_quadrant = 5
cut_overlay(excav_overlay)
excav_overlay = "overlay_excv[excav_quadrant]_[rand(1,3)]"
add_overlay(excav_overlay)