fix time display and double slowmo speed
This commit is contained in:
parent
fe623236c1
commit
b006648774
1 changed files with 2 additions and 2 deletions
4
main.gd
4
main.gd
|
@ -38,7 +38,7 @@ var advancing := false
|
|||
@onready var sounds_undo := audio_stream_randomizer_from_dir("res://sfx/undo")
|
||||
@onready var sounds_redo := audio_stream_randomizer_from_dir("res://sfx/redo")
|
||||
|
||||
@export_range(0, 1) var slowmo_speed := 0.1
|
||||
@export_range(0, 1) var slowmo_speed := 0.2
|
||||
|
||||
func _ready() -> void:
|
||||
advance_level()
|
||||
|
@ -122,7 +122,7 @@ func restart():
|
|||
func board_step():
|
||||
hist.add_do_method(board.do_step)
|
||||
hist.add_do_property(self, "time", time+1)
|
||||
hist.add_do_property(self, "time", time+1)
|
||||
hist.add_undo_property(self, "time", time)
|
||||
hist.add_undo_method(board.undo_step())
|
||||
|
||||
func step(move: Vector2i):
|
||||
|
|
Loading…
Reference in a new issue