cleans code. adds sign for wrong way
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
extends Label
|
||||
extends TextureRect
|
||||
|
||||
# Called when the node enters the scene tree for the first time.
|
||||
func _ready():
|
||||
@@ -10,4 +10,4 @@ func _on_RaceTrack_wrong_way(coords):
|
||||
set_visible(false)
|
||||
else:
|
||||
set_visible(true)
|
||||
set_position(coords)
|
||||
set_position(Vector2(coords.x + 32, coords.y + 32))
|
||||
Reference in New Issue
Block a user