return on finish emit
This commit is contained in:
parent
9b30a3b054
commit
bc9cb7b455
1 changed files with 1 additions and 0 deletions
|
|
@ -19,6 +19,7 @@ func _enter(_previous_state_path: String, _data: Dictionary = {"round": 0, "rest
|
||||||
|
|
||||||
if level.current_round + 1 == 4:
|
if level.current_round + 1 == 4:
|
||||||
finished.emit(FINISHING)
|
finished.emit(FINISHING)
|
||||||
|
return
|
||||||
|
|
||||||
assert(
|
assert(
|
||||||
(level.player_1 != null and level.player_2 != null) or
|
(level.player_1 != null and level.player_2 != null) or
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue