Преглед на файлове

Remove useless `pass` keywords

DricomDragon преди 5 години
родител
ревизия
618d5ad479
променени са 1 файла, в които са добавени 0 реда и са изтрити 7 реда
  1. 0 7
      CharTween.gd

+ 0 - 7
CharTween.gd

@@ -2,18 +2,11 @@ extends Tween
 
 export var default_duration = 0.1
 
-# Called when the node enters the scene tree for the first time.
-func _ready():
-	pass # Replace with function body.
-
 func connect_into(o):
 	connect("tween_completed", o, "_on_tween_completed")
-	pass
 
 func move_char(c, t_pos, duration = default_duration):
 	interpolate_property(c, "position", c.get_position(), t_pos, duration, Tween.TRANS_LINEAR, Tween.EASE_OUT_IN)
-	pass
 
 func rotate_char(c, from, to, duration = default_duration):
 	interpolate_property(c, "rotation_degrees", from, to, duration, Tween.TRANS_LINEAR, Tween.EASE_OUT)
-	pass