Skip to content
This repository has been archived by the owner on May 31, 2024. It is now read-only.

Commit

Permalink
🩹 Fix Core destroyed animation not playing on defeat.
Browse files Browse the repository at this point in the history
  • Loading branch information
LennyPhoenix committed Nov 30, 2020
1 parent ea06695 commit c117198
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Source/Buildings/Core.tscn
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ AdditionalOffsetPaths = [ NodePath("../Sprite"), NodePath("../LightOccluder2D"),
MaxHealth = 1000.0
Collider = SubResource( 1 )

[node name="AnimationPlayer" parent="." index="3"]
pause_mode = 2

[node name="Sprite" parent="." index="4"]
texture = ExtResource( 3 )

Expand Down
2 changes: 1 addition & 1 deletion Source/Planet.cs
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ public override void _Ready()
Generate();

WaveTimer.Wave = 1;
WaveTimer.StartTimer(2);
WaveTimer.StartTimer(150);
}

public override string _GetConfigurationWarning()
Expand Down

0 comments on commit c117198

Please sign in to comment.