aboutsummaryrefslogtreecommitdiff
path: root/client/map
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2024-07-08 20:05:39 +0200
committermetamuffin <metamuffin@disroot.org>2024-07-08 20:05:39 +0200
commit3a93493437182a20040cd50cf83a3d3196b046fc (patch)
treeba561e6e5438c5570a56bf6342b8d315c24e29dc /client/map
parentc0d4eb9da614c02dc5dc4a15db420014f592ba45 (diff)
downloadhurrycurry-3a93493437182a20040cd50cf83a3d3196b046fc.tar
hurrycurry-3a93493437182a20040cd50cf83a3d3196b046fc.tar.bz2
hurrycurry-3a93493437182a20040cd50cf83a3d3196b046fc.tar.zst
open book menu when interacting with the tile
Diffstat (limited to 'client/map')
-rw-r--r--client/map/tiles/book.gd3
1 files changed, 1 insertions, 2 deletions
diff --git a/client/map/tiles/book.gd b/client/map/tiles/book.gd
index 11bd6592..44a6ebdb 100644
--- a/client/map/tiles/book.gd
+++ b/client/map/tiles/book.gd
@@ -21,5 +21,4 @@ func _init(rename: String, neighbors: Array):
base.add_child(load("res://map/tiles/book.tscn").instantiate())
func interact():
- # the book is supposed to be opened here
- pass
+ Global.find_menu(self).submenu("res://menu/book/book.tscn")