diff options
author | metamuffin <metamuffin@disroot.org> | 2024-08-20 15:42:26 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2024-08-20 15:42:26 +0200 |
commit | dcbd58ceb728f5d52e57ed575e488d6390f149cc (patch) | |
tree | cb5768df4fc32a9dbc394db042c42f399b4b9bff | |
parent | b3b780c85d16153c9afa2183e961061752f28b50 (diff) | |
download | hurrycurry-dcbd58ceb728f5d52e57ed575e488d6390f149cc.tar hurrycurry-dcbd58ceb728f5d52e57ed575e488d6390f149cc.tar.bz2 hurrycurry-dcbd58ceb728f5d52e57ed575e488d6390f149cc.tar.zst |
update book
-rw-r--r-- | client/menu/book/book.gd | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/menu/book/book.gd b/client/menu/book/book.gd index ab244fcb..512ddfd4 100644 --- a/client/menu/book/book.gd +++ b/client/menu/book/book.gd @@ -17,9 +17,9 @@ extends Menu func _ready(): super() - for i in range(1, 6): + for d in ["01", "02", "03", "04", "05", "06", "07", "08", "09", "10"]: var texture := TextureRect.new() - texture.texture = load("res://menu/book/book_%d.webp" % i) + texture.texture = load("res://menu/book/book_%s.webp" % d) texture.expand_mode = TextureRect.EXPAND_FIT_WIDTH texture.stretch_mode = TextureRect.STRETCH_KEEP_ASPECT_CENTERED texture.custom_minimum_size = get_viewport_rect().size |