summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2024-08-20 15:42:26 +0200
committermetamuffin <metamuffin@disroot.org>2024-08-20 15:42:26 +0200
commitdcbd58ceb728f5d52e57ed575e488d6390f149cc (patch)
treecb5768df4fc32a9dbc394db042c42f399b4b9bff /client
parentb3b780c85d16153c9afa2183e961061752f28b50 (diff)
downloadhurrycurry-dcbd58ceb728f5d52e57ed575e488d6390f149cc.tar
hurrycurry-dcbd58ceb728f5d52e57ed575e488d6390f149cc.tar.bz2
hurrycurry-dcbd58ceb728f5d52e57ed575e488d6390f149cc.tar.zst
update book
Diffstat (limited to 'client')
-rw-r--r--client/menu/book/book.gd4
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