Makes stumps not see through (#96311)

## About The Pull Request
Just made it acctually check if we even have a seethrough map before we
bother assigning it so we dont make stumps see through which seems
rather silly.
## Why It's Good For The Game
Its not even a tile tall. Why would we need that.
## Changelog
🆑
fix: Stumps aren't see through
/🆑
This commit is contained in:
FalloutFalcon
2026-06-03 13:11:48 +02:00
committed by GitHub
parent 86f2b37676
commit 3463fdde6b
+5 -1
View File
@@ -308,7 +308,8 @@
/obj/structure/flora/tree/Initialize(mapload)
. = ..()
AddComponent(/datum/component/seethrough, get_seethrough_map())
if(get_seethrough_map())
AddComponent(/datum/component/seethrough, get_seethrough_map())
/obj/structure/flora/tree/get_potential_products()
return list(/obj/item/grown/log/tree = 1)
@@ -345,6 +346,9 @@
to_chat(user, span_notice("You manage to remove [src]."))
qdel(src)
/obj/structure/flora/tree/stump/get_seethrough_map()
return FALSE
/obj/structure/flora/tree/dead
icon = 'icons/obj/fluff/flora/deadtrees.dmi'
desc = "A dead tree. How it died, you know not."