couple fixes, to do with minus world

This commit is contained in:
JHDev2006
2025-09-26 20:46:39 +01:00
parent 659e9f3ce8
commit 786a81a7b8
5 changed files with 220 additions and 43 deletions

View File

@@ -124,8 +124,6 @@ func get_highscore() -> void:
func clear_stats() -> void:
Global.clear_saved_values()
Global.world_num = 1
Global.level_num = 1
LevelTransition.level_to_transition_to = Level.get_scene_string(Global.world_num, Global.level_num)
func start_game() -> void:
@@ -227,6 +225,8 @@ func quit_game() -> void:
get_tree().quit()
func new_game_selected() -> void:
Global.world_num = 1
Global.level_num = 1
Global.second_quest = false
Global.current_game_mode = Global.GameMode.CAMPAIGN
if Global.game_beaten: