Moves arch component application to where archdrops is defined (#38487)

This commit is contained in:
Emmett Gaines
2018-06-16 00:00:41 -04:00
committed by letterjay
parent 4780f3a20b
commit 1f3bbebe0a
2 changed files with 2 additions and 4 deletions
+2
View File
@@ -12,6 +12,8 @@
. = ..()
if(wet)
AddComponent(/datum/component/wet_floor, wet, INFINITY, 0, INFINITY, TRUE)
if(LAZYLEN(archdrops))
AddComponent(/datum/component/archaeology, archdrops)
/turf/open/indestructible
name = "floor"
@@ -22,10 +22,6 @@
if(prob(floor_variance))
icon_state = "[environment_type][rand(0,12)]"
if(LAZYLEN(archdrops))
AddComponent(/datum/component/archaeology, archdrops)
/turf/open/floor/plating/asteroid/try_replace_tile(obj/item/stack/tile/T, mob/user, params)
return