Skip to content

Commit 965a935

Browse files
committed
fix: format replay input scripts
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: c779ef78-f1e2-4b31-8c60-1b7fc8811ccb
1 parent 2777c14 commit 965a935

3 files changed

Lines changed: 7 additions & 5 deletions

File tree

src/maps/map_ui.gd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ func set_replay_inputs(
4242
shoot_input: bool,
4343
ads_input: bool,
4444
reload_input: bool,
45-
) -> void:
45+
) -> void:
4646
replay_input_display.set_inputs(
4747
forward_input,
4848
back_input,

src/maps/replay_input_display.gd

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ var _input_states := {
1818
&"reload": false,
1919
}
2020

21-
var _key_panels: Dictionary = {}
22-
var _key_labels: Dictionary = {}
21+
var _key_panels: Dictionary = { }
22+
var _key_labels: Dictionary = { }
2323
var _active_panel_style: StyleBoxFlat
2424
var _inactive_panel_style: StyleBoxFlat
2525

@@ -47,7 +47,7 @@ func set_inputs(
4747
shoot_input: bool,
4848
ads_input: bool,
4949
reload_input: bool,
50-
) -> void:
50+
) -> void:
5151
_input_states[&"forward"] = forward_input
5252
_input_states[&"back"] = back_input
5353
_input_states[&"left"] = left_input

src/recorder.gd

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,9 @@ func set_frame(value: int) -> void:
103103
else:
104104
map.map_ui.set_speed(speed)
105105
map.map_ui.set_timer(current_frame * dt)
106-
map.map_ui.set_replay_inputs(
106+
map \
107+
.map_ui \
108+
.set_replay_inputs(
107109
frame.forward_input,
108110
frame.back_input,
109111
frame.left_input,

0 commit comments

Comments
 (0)