Skip to content

Commit

Permalink
AnimationInstance: Declare signals before top-level variables
Browse files Browse the repository at this point in the history
    addons/DampedOscillator/scripts/AnimationInstance.gd:18: Error: Definition out of order in None (class-definitions-order)
    addons/DampedOscillator/scripts/AnimationInstance.gd:19: Error: Definition out of order in None (class-definitions-order)
  • Loading branch information
wjt committed Sep 24, 2024
1 parent 8552cc3 commit dfbe3b8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions addons/DampedOscillator/scripts/AnimationInstance.gd
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
extends Node

signal started
signal ended

# node values
var node
var propertie
Expand All @@ -15,9 +18,6 @@ var scale_factor = 1.0

var active = true

signal started
signal ended


func _physics_process(delta):
# Do the math
Expand Down

0 comments on commit dfbe3b8

Please sign in to comment.