matchmaking support multigame

This commit is contained in:
2024-03-25 14:53:15 +01:00
committed by AdrienLSH
parent 4128f6ae01
commit d1bea7dfd7
5 changed files with 79 additions and 48 deletions

View File

@ -2,5 +2,5 @@ from django.urls import re_path
from . import consumers
websocket_urlpatterns = [
re_path(r'ws/matchmaking/(?P<mode>\d+)$', consumers.MatchMaking.as_asgi())
re_path(r'ws/matchmaking/(?P<gamemode>\w+)/(?P<mode>\d+)$', consumers.MatchMaking.as_asgi())
]