update hint text

This commit is contained in:
adrienmalin
2019-01-16 16:05:55 +01:00
parent 5419864859
commit 05f61c76db
2 changed files with 3 additions and 3 deletions

View File

@ -118,7 +118,7 @@ func _ready():
func hint_text():
var input_event = InputMap.get_action_list("pause")[0]
var scancode = OS.get_scancode_string(input_event.scancode)
$hint.text = "Press "+ scancode + " to resume\nor click on a button to change key assignment"
$hint.text = "Press ["+ scancode + "] to resume\nor click on a button to change key assignment"
# Do not start processing input until a button is pressed
set_process_input(false)