summaryrefslogtreecommitdiffhomepage
path: root/Racing-Game/Interface
diff options
context:
space:
mode:
Diffstat (limited to 'Racing-Game/Interface')
-rw-r--r--Racing-Game/Interface/Camera2D.gd3
-rw-r--r--Racing-Game/Interface/RichTextLabel.gd2
2 files changed, 2 insertions, 3 deletions
diff --git a/Racing-Game/Interface/Camera2D.gd b/Racing-Game/Interface/Camera2D.gd
index e17493a..2b0da27 100644
--- a/Racing-Game/Interface/Camera2D.gd
+++ b/Racing-Game/Interface/Camera2D.gd
@@ -8,11 +8,10 @@ var printfps = 0;
# Called when the node enters the scene tree for the first time.
func _ready():
zoom = Vector2(2,2)
- connect("pos",get_node("Cars/4WheelCar"),"_on_CarBody_pos")
pass # Replace with function body.
# Called every frame. 'delta' is the elapsed time since the previous frame.
-func _process(delta):
+func _process(_delta):
# #print fps
# printfps += delta
# if(printfps > 1):
diff --git a/Racing-Game/Interface/RichTextLabel.gd b/Racing-Game/Interface/RichTextLabel.gd
index 99856bd..c7e36ba 100644
--- a/Racing-Game/Interface/RichTextLabel.gd
+++ b/Racing-Game/Interface/RichTextLabel.gd
@@ -8,7 +8,7 @@ extends RichTextLabel
func _ready():
pass
# Called every frame. 'delta' is the elapsed time since the previous frame.
-func _process(delta):
+func _process(_delta):
set_rotation(0)
pass