Disabled shooting once player got heart for second ending.
This commit is contained in:
parent
fe456205a8
commit
a1838c3648
1 changed files with 1 additions and 0 deletions
|
|
@ -155,6 +155,7 @@ func _on_area_entered(area):
|
||||||
EventBus.heart_beat.emit(2.0)
|
EventBus.heart_beat.emit(2.0)
|
||||||
ship.frame = 0
|
ship.frame = 0
|
||||||
can_win = true
|
can_win = true
|
||||||
|
can_shoot = false
|
||||||
EventBus.ending.emit(1)
|
EventBus.ending.emit(1)
|
||||||
|
|
||||||
#if area.is_in_group("boss") and can_win == true:
|
#if area.is_in_group("boss") and can_win == true:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue