Fixed the overlay issue for now. This will need replacing.

This commit is contained in:
Zuhayr
2014-08-13 12:04:51 +09:30
parent 54ec5f0233
commit 649af28c77
3 changed files with 29 additions and 30 deletions
@@ -162,11 +162,6 @@ Deep minerals:
target_turf = locate(tx+j, ty+i, asteroid_z)
//Very shitty fix for the asteroid turf overlays being screwy.
if(target_turf && istype(target_turf,/turf/simulated/floor/plating/airless/asteroid))
var/turf/simulated/floor/plating/airless/asteroid/T = target_turf
T.updateMineralOverlays()
if(target_turf && target_turf.has_resources)
target_turf.resources = list()
target_turf.resources["silicates"] = rand(3,5)