Fixes a range of poster bugs (#94377)

This commit is contained in:
Thunder12345
2025-12-11 07:41:51 -07:00
committed by GitHub
parent 94f91551ec
commit 20ef325ce8
3 changed files with 22 additions and 7 deletions
+1 -1
View File
@@ -58,7 +58,7 @@ SUBSYSTEM_DEF(library)
/datum/controller/subsystem/library/proc/prepare_official_posters()
printable_posters = list()
for(var/obj/structure/sign/poster/official/poster_type as anything in subtypesof(/obj/structure/sign/poster/official))
if (initial(poster_type.printable) == TRUE) //Mostly this check exists to keep directionals from ending up in the printable list
if (initial(poster_type.pixel_x) == 0 && initial(poster_type.pixel_y) == 0) //Anything with an initial pixel offset is a directional subtype, keep it out the list
printable_posters[initial(poster_type.name)] = poster_type
/datum/controller/subsystem/library/proc/prepare_library_areas()