bedrock: BDS_TRANSPORT switch (raknet)
Browse files
app.py
CHANGED
|
@@ -76,6 +76,8 @@ def playit_tunnels():
|
|
| 76 |
|
| 77 |
def nethernet_props():
|
| 78 |
"""Advertise the playit UDP tunnel as NetherNet's public gameplay endpoint."""
|
|
|
|
|
|
|
| 79 |
try:
|
| 80 |
import socket
|
| 81 |
for t in playit_tunnels():
|
|
|
|
| 76 |
|
| 77 |
def nethernet_props():
|
| 78 |
"""Advertise the playit UDP tunnel as NetherNet's public gameplay endpoint."""
|
| 79 |
+
if os.environ.get("BDS_TRANSPORT", "nethernet") == "raknet":
|
| 80 |
+
return {"transport": "raknet"}
|
| 81 |
try:
|
| 82 |
import socket
|
| 83 |
for t in playit_tunnels():
|