Byond will never stop with this huh

This commit is contained in:
Aronai Sieyes
2021-07-07 21:45:25 -04:00
parent 3ebbba6e34
commit 57c73cd577
+2 -2
View File
@@ -490,10 +490,10 @@
var/list/chosen = pick(painting_category)
if(!fexists("data/persistent/paintings/[persistence_id]/[chosen["md5"]].png")) //shitmin deleted this art, lets remove json entry to avoid errors
painting_category -= list(chosen)
SSpersistence.unpicked_paintings -= chosen
SSpersistence.unpicked_paintings -= list(chosen)
continue //and try again
painting = chosen
SSpersistence.unpicked_paintings -= chosen
SSpersistence.unpicked_paintings -= list(chosen)
var/title = painting["title"]
var/author_name = painting["author"]