sevivon

[DORMANT] multiplayer dreidel game for mobile devices w/ godot
git clone git://git.figbert.com/sevivon.git
Log | Files | Refs | README | LICENSE

commit 6cf72234b43cb228495a0232524db516959957f7
parent 1405098fdccac0de5e6feef5087cbe89f5983b03
Author: FIGBERT <figbert@figbert.com>
Date:   Tue,  2 Feb 2021 22:50:39 -0800

Reset gelt when the game ends

Diffstat:
Msrc/scripts/main.gd | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/scripts/main.gd b/src/scripts/main.gd @@ -74,6 +74,10 @@ func _end_game(message: String, over := false) -> void: rset("game_started", false) rset("game_over", over) rset("current_turn", { "id": -1, "index": -1 }) + for id in players.keys(): + players[id]["gelt"] = 10 + players[id]["out"] = false + pot = 5 rpc("print_message_from_server", message)