Skip to content

Commit c83c726

Browse files
authored
Fps-slider label reads client_hz as int instead of float
No user facing changed on 4.3, but on 4.4, the Label would display strings based on floats as decimal (60.0 instead of 60)
1 parent 89a09c8 commit c83c726

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/scripts/ui/fps_slider.gd

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ var fps_limit_value: int
1010
func _ready():
1111
max_value = client_hz * 2
1212
value = client_hz
13-
label.text = slide_name + str(client_hz)
13+
label.text = slide_name + str(int(client_hz))
1414

1515
func _on_value_changed(value):
1616
fps_limit_value = value

0 commit comments

Comments
 (0)