adjusted O2 length (fixes #170)
This commit is contained in:
parent
0a0b3e2f42
commit
8d845c9def
2 changed files with 8 additions and 3 deletions
|
@ -80,6 +80,12 @@ func _ready() -> void:
|
|||
state_chart.set_guard_property("red_feather", false)
|
||||
# state chart debug
|
||||
$StateDebugLayer/StateChartDebug.target = state_chart
|
||||
# set lung size
|
||||
if Game.difficulty == Game.Difficulty.SWEET:
|
||||
oxygen_timer.set_wait_time(25)
|
||||
if Game.difficulty == Game.Difficulty.PUNGENT:
|
||||
oxygen_timer.set_wait_time(15)
|
||||
oxygen_timer.start()
|
||||
|
||||
func _physics_process(delta: float) -> void:
|
||||
# snap sprite
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue