sevivon

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

commit fc7eacc09893e21a33fc29e303ad9a96d406ffdc
parent 0ba213b2dd020e4b57a0389e3cc7c7b933a65645
Author: FIGBERT <figbert@figbert.com>
Date:   Sun, 31 Jan 2021 23:24:20 -0800

Remove extraneous check

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

diff --git a/src/scripts/main.gd b/src/scripts/main.gd @@ -30,14 +30,14 @@ func _initalize_instance() -> void: func _peer_joined(id: int) -> void: if get_tree().is_network_server(): print("%s joined successfully" % id) - elif id != get_tree().get_network_unique_id() and id != 1: + elif id != 1: $Label.text += "%s has joined the lobby\n" % id func _peer_left(id: int) -> void: if get_tree().is_network_server(): print("%s disconnected from the server" % id) - elif id != get_tree().get_network_unique_id() and id != 1: + elif id != 1: $Label.text += "%s has left the lobby\n" % id