diff options
Diffstat (limited to 'map.gd')
| -rw-r--r-- | map.gd | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -22,9 +22,6 @@ func set_active_name(map_room_name: String): if active_map_room: active_map_room.color = active_color -func connect_close_map(callable: Callable): - $UnpauseButton.connect("pressed", callable) - func show_map(): visible = true $UnpauseButton.mouse_filter = Control.MOUSE_FILTER_STOP @@ -32,3 +29,6 @@ func show_map(): func hide_map(): visible = false $UnpauseButton.mouse_filter = Control.MOUSE_FILTER_IGNORE + +func _on_unpause_button_pressed() -> void: + Input.action_press("menu") |
