From: Eduardo Date: Sun, 7 Jul 2024 13:05:20 +0000 (+0200) Subject: get scene for the save function in the pause menu X-Git-Url: http://git.edufdez.es/?a=commitdiff_plain;h=9c2108b4889f62360c8dc9be3e9f3af33e8c79a4;p=rpg-template.git get scene for the save function in the pause menu --- diff --git a/scripts/pause_menu.gd b/scripts/pause_menu.gd index 0e8206f..c514980 100644 --- a/scripts/pause_menu.gd +++ b/scripts/pause_menu.gd @@ -17,4 +17,4 @@ func save_data(): func get_scene() -> Constants.LEVELS_NAMES: - pass + return Globals.get_current_scene()