Moves arch component application to where archdrops is defined (#38487)
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user