matchmaking support multigame

This commit is contained in:
2024-03-25 14:53:15 +01:00
parent 09e7476127
commit c232f03c17
5 changed files with 79 additions and 47 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())
]