diff --git a/scripts/stages/1/game_manager.gd b/scripts/stages/1/game_manager.gd index 9713313..4b6e0df 100644 --- a/scripts/stages/1/game_manager.gd +++ b/scripts/stages/1/game_manager.gd @@ -20,6 +20,9 @@ func _ready(): if game_data.load_data()['debug']: data['resource'] = 999999 + # Init Engine time scale + Engine.time_scale = 1.0 + # Set Duration & Start Timer duration.wait_time = config.game['duration'] duration.start() diff --git a/scripts/stages/2/game_manager.gd b/scripts/stages/2/game_manager.gd index 0bccdd4..1e92ff2 100644 --- a/scripts/stages/2/game_manager.gd +++ b/scripts/stages/2/game_manager.gd @@ -19,6 +19,9 @@ func _ready(): if game_data.load_data()['debug']: data['resource'] = 999999 + # Init Engine time scale + Engine.time_scale = 1.0 + # Set Duration & Start Timer duration.wait_time = config.game['duration'] duration.start() diff --git a/scripts/stages/3/game_manager.gd b/scripts/stages/3/game_manager.gd index 786d752..e6df6aa 100644 --- a/scripts/stages/3/game_manager.gd +++ b/scripts/stages/3/game_manager.gd @@ -18,6 +18,9 @@ func _ready(): # Debug Mode if game_data.load_data()['debug']: data['resource'] = 999999 + + # Init Engine time scale + Engine.time_scale = 1.0 # Set Duration & Start Timer duration.wait_time = config.game['duration'] diff --git a/scripts/stages/4/game_manager.gd b/scripts/stages/4/game_manager.gd index ac8bf26..2728772 100644 --- a/scripts/stages/4/game_manager.gd +++ b/scripts/stages/4/game_manager.gd @@ -18,6 +18,9 @@ func _ready(): # Debug Mode if game_data.load_data()['debug']: data['resource'] = 999999 + + # Init Engine time scale + Engine.time_scale = 1.0 # Set Duration & Start Timer duration.wait_time = config.game['duration'] diff --git a/scripts/stages/5/game_manager.gd b/scripts/stages/5/game_manager.gd index c342ec2..c6f7930 100644 --- a/scripts/stages/5/game_manager.gd +++ b/scripts/stages/5/game_manager.gd @@ -19,6 +19,9 @@ func _ready(): if game_data.load_data()['debug']: data['resource'] = 999999 + # Init Engine time scale + Engine.time_scale = 1.0 + # Set Duration & Start Timer duration.wait_time = config.game['duration'] duration.start() diff --git a/scripts/stages/6/game_manager.gd b/scripts/stages/6/game_manager.gd index bba7a39..b6bee33 100644 --- a/scripts/stages/6/game_manager.gd +++ b/scripts/stages/6/game_manager.gd @@ -18,6 +18,9 @@ func _ready(): # Debug Mode if game_data.load_data()['debug']: data['resource'] = 999999 + + # Init Engine time scale + Engine.time_scale = 1.0 # Set Duration & Start Timer duration.wait_time = config.game['duration'] diff --git a/scripts/ui/main_menu.gd b/scripts/ui/main_menu.gd index 6720672..089a6aa 100644 --- a/scripts/ui/main_menu.gd +++ b/scripts/ui/main_menu.gd @@ -9,6 +9,9 @@ var data = game_data.load_data() var debug_state = 0 func _ready(): + # Init Engine time scale + Engine.time_scale = 1.0 + if data == null: game_data.save_data({ "debug": false,