mirror of
https://github.com/git-learning-game/oh-my-git.git
synced 2024-12-22 20:32:38 +01:00
Show what HEAD points to when branch does not exist
This commit is contained in:
parent
7d7b15e3fb
commit
c49fa2f7d4
2 changed files with 5 additions and 3 deletions
|
@ -17,6 +17,8 @@ test -d .git
|
|||
|
||||
[congrats]
|
||||
|
||||
Wonderful! Now, let's make sure that your time machine works correctly...
|
||||
Oh hey, that's you! :) Wonderful!
|
||||
|
||||
Now, let's make sure that your time machine works correctly...
|
||||
|
||||
Click on "Next level", as soon as you're ready!
|
||||
|
|
|
@ -15,8 +15,8 @@ func _process(_delta):
|
|||
return
|
||||
|
||||
if repository.objects[source].type == "head":
|
||||
hide()
|
||||
set_process(false)
|
||||
$Tip.hide()
|
||||
$Line.hide()
|
||||
|
||||
var start = repository.objects[source].position
|
||||
var end = start + Vector2(0, 60)
|
||||
|
|
Loading…
Reference in a new issue