prevents posters inheriting icon_state from map obj

This commit is contained in:
Nadyr
2024-09-22 17:23:06 -04:00
parent cc26a8dc78
commit 6caaf9742f
@@ -3,7 +3,7 @@
if(exact)
return decls_repository.get_decl(path)
else
var/list/L = decls_repository.get_decls_of_type(path)
var/list/L = decls_repository.get_decls_of_subtype(path) // Use get_decls_of_subtype instead of get_decls_of_type, or it will get the map placing icon_state
return L[pick(L)]
return null