Update table
This commit is contained in:
+3
-2
@@ -384,14 +384,15 @@ func _refresh_display() -> void:
|
|||||||
|
|
||||||
func _process(delta: float) -> void:
|
func _process(delta: float) -> void:
|
||||||
_refresh_display()
|
_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():
|
if not NetworkManager.owns_world():
|
||||||
SweetLogger.error("Is not server, return")
|
SweetLogger.error("Is not server, return")
|
||||||
return
|
return
|
||||||
SweetLogger.error("Is server, UPDATING!!!")
|
|
||||||
|
|
||||||
if GameManager.game_state == GameManager.GameState.GAME_OVER:
|
if GameManager.game_state == GameManager.GameState.GAME_OVER:
|
||||||
return
|
return
|
||||||
_place_order_if_player()
|
|
||||||
|
|
||||||
# If build mode, set, exit loop, be idle
|
# If build mode, set, exit loop, be idle
|
||||||
if GameManager.game_state == GameManager.GameState.BUILDING and not _state == TableState.IDLE:
|
if GameManager.game_state == GameManager.GameState.BUILDING and not _state == TableState.IDLE:
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
- pickables being picked up is not RELIABLY synced
|
- 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
|
- 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,
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1 +0,0 @@
|
|||||||
uid://be8o8m6xpp3kc
|
|
||||||
Reference in New Issue
Block a user