Fixes initialization getting stuck on paintings. (#58399)

This commit is contained in:
AnturK
2021-04-14 14:32:57 -07:00
committed by GitHub
parent 34104048d1
commit 3de3256f25
+1 -1
View File
@@ -343,7 +343,7 @@
return //aborts loading anything this category has no usable paintings
var/list/chosen = pick(painting_category)
if(!fexists("data/paintings/[persistence_id]/[chosen["md5"]].png")) //shitmin deleted this art, lets remove json entry to avoid errors
painting_category.Remove(chosen)
painting_category -= list(chosen)
continue //and try again
painting = chosen
var/title = painting["title"]