Convert /material to it's correct absolute path /datum/material (#7637)

This commit is contained in:
ShadowLarkens
2020-09-20 02:00:09 -07:00
committed by GitHub
parent 45dcc14270
commit 927c41c7a3
35 changed files with 167 additions and 167 deletions
+1 -1
View File
@@ -36,7 +36,7 @@
cached_rad_resistance += O.rad_resistance
else if(O.density) //So open doors don't get counted
var/material/M = O.get_material()
var/datum/material/M = O.get_material()
if(!M) continue
cached_rad_resistance += (M.weight + M.radiation_resistance) / config.radiation_material_resistance_divisor
// Looks like storing the contents length is meant to be a basic check if the cache is stale due to items enter/exiting. Better than nothing so I'm leaving it as is. ~Leshana