diff --git a/game/src/cg_gallery.rpy b/game/src/cg_gallery.rpy index e1c0f16..8afdf17 100644 --- a/game/src/cg_gallery.rpy +++ b/game/src/cg_gallery.rpy @@ -31,8 +31,8 @@ init python: return im.FactorScale(CG_PATHS + fname + "." + ext, scaleFactor["x"], scaleFactor["y"], False) # Create an object in g:Gallery, add to galleryItems - # (imageName: string; ext: string; w: float; h: float; unlocked?: boolean) -> None - def addGalleryItem(imageName, ext, w, h, unlocked = False): + # (imageName: string; ext: string; w: float; h: float) -> None + def addGalleryItem(imageName, ext, w, h): g.button(imageName) g.image(imageName) @@ -62,9 +62,8 @@ init python: for str in list_img: _str = CG_PATHS+str+"."+ACCEPTED_EXTENSIONS[0] if renpy.loadable(_str): #brute force - unlocked = renpy.seen_image(str) image = renpy.image_size(Image(_str)) - addGalleryItem(str, ACCEPTED_EXTENSIONS[0], image[0], image[1], unlocked) + addGalleryItem(str, ACCEPTED_EXTENSIONS[0], image[0], image[1]) return