Compare commits
1 Commits
cbbf9d538d
...
lobby-syst
| Author | SHA1 | Date | |
|---|---|---|---|
| 8445f5a944 |
@@ -47,8 +47,11 @@ func _process(delta):
|
|||||||
|
|
||||||
func create_lobby():
|
func create_lobby():
|
||||||
print("[HOST] 1. Attempting to create lobby...")
|
print("[HOST] 1. Attempting to create lobby...")
|
||||||
Steam.createLobby(Steam.LOBBY_TYPE_FRIENDS_ONLY, 4)
|
|
||||||
|
if lobby_id == 0:
|
||||||
|
Steam.createLobby(Steam.LOBBY_TYPE_FRIENDS_ONLY, 4)
|
||||||
|
else:
|
||||||
|
print("Cant host, already in a lobby")
|
||||||
|
|
||||||
func _on_lobby_created(connect: int, this_lobby_id: int):
|
func _on_lobby_created(connect: int, this_lobby_id: int):
|
||||||
if connect != 1:
|
if connect != 1:
|
||||||
|
|||||||
Reference in New Issue
Block a user