From e65243055ceaec1657b9d1a8f18f9f17536e9735 Mon Sep 17 00:00:00 2001 From: JonShard Date: Tue, 11 Aug 2026 17:49:54 +0200 Subject: [PATCH] Update table --- Stations/table.gd | 5 +++-- documentation/Notes.md | 2 +- recipes.yaml.uid | 1 - 3 files changed, 4 insertions(+), 4 deletions(-) delete mode 100644 recipes.yaml.uid diff --git a/Stations/table.gd b/Stations/table.gd index ecd20bd..c69c75f 100644 --- a/Stations/table.gd +++ b/Stations/table.gd @@ -384,14 +384,15 @@ func _refresh_display() -> void: func _process(delta: float) -> void: _refresh_display() + _place_order_if_player() + SweetLogger.error("State {0} time: {1} duration: {2}", [TableState.keys()[_state], _state_time, _state_duration]) + if not NetworkManager.owns_world(): SweetLogger.error("Is not server, return") return - SweetLogger.error("Is server, UPDATING!!!") if GameManager.game_state == GameManager.GameState.GAME_OVER: return - _place_order_if_player() # If build mode, set, exit loop, be idle if GameManager.game_state == GameManager.GameState.BUILDING and not _state == TableState.IDLE: diff --git a/documentation/Notes.md b/documentation/Notes.md index acce959..f0d9b23 100644 --- a/documentation/Notes.md +++ b/documentation/Notes.md @@ -6,7 +6,7 @@ - pickables being picked up is not RELIABLY synced - sounds played on pickable in new script / node, when collides or picked_up or dropped, server tells clinetns with RPC to play sound -- Contaioner / plate sometimes doesn't sync to clients that it picked someting up. +- Contaioner / plate sometimes doesn't sync to clients that it picked someting up. Only when client moves a plate near a hamburger that is in a station, diff --git a/recipes.yaml.uid b/recipes.yaml.uid deleted file mode 100644 index 26c7014..0000000 --- a/recipes.yaml.uid +++ /dev/null @@ -1 +0,0 @@ -uid://be8o8m6xpp3kc