This commit is contained in:
algodoogle
2026-07-27 13:47:50 +01:00
parent 34a649f507
commit c758771a75
11 changed files with 320 additions and 0 deletions
+6
View File
@@ -178,6 +178,9 @@ func _process(delta: float) -> void:
if _state_time > 0:
_state_time -= delta
return
if GAME_MANAGER.game_state == GAME_MANAGER.GameState.GAME_OVER:
return
# When state timer is finished, do this stuff before moving to next state
match _state:
@@ -191,9 +194,12 @@ func _process(delta: float) -> void:
TableState.WAITING_PRIMARY:
label_3d.text = lbl_gameover
GAME_MANAGER.game_over()
TableState.WAITING_FRIEND:
label_3d.text = lbl_gameover
GAME_MANAGER.game_over()
TableState.EATING:
clearAllPlates()