Removed decimal places in speed display, dadded style to menu
This commit is contained in:
parent
a72576bea6
commit
3e41ef3aaa
2 changed files with 46 additions and 2 deletions
|
@ -6,7 +6,7 @@ extends Control
|
|||
@export var distance: Label
|
||||
|
||||
func _on_player_speed_changed(speed_float:float):
|
||||
var speed_string = "%.02f" % speed_float
|
||||
var speed_string = "%.f" % speed_float
|
||||
# print_debug("changing speed display to ", speed_string)
|
||||
speed.set_text(speed_string)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue