From b4496486a887f22a3804dbedb0f4a812f17869b3 Mon Sep 17 00:00:00 2001 From: sin365 <353374337@qq.com> Date: Tue, 7 Jan 2025 01:21:59 +0800 Subject: [PATCH] server fixed --- AxibugEmuOnline.Server/Manager/RoomManager.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/AxibugEmuOnline.Server/Manager/RoomManager.cs b/AxibugEmuOnline.Server/Manager/RoomManager.cs index 28a807ea..2f372b90 100644 --- a/AxibugEmuOnline.Server/Manager/RoomManager.cs +++ b/AxibugEmuOnline.Server/Manager/RoomManager.cs @@ -1188,8 +1188,8 @@ namespace AxibugEmuOnline.Server return false; } AppSrv.g_Log.Debug($"Join _c.UID->{_c.UID} RoomID->{RoomID}"); - Dictionary slotInfo = new Dictionary(); - slotInfo[slotIdx] = joyIdx; + Dictionary slotInfo = new Dictionary(); + slotInfo[slotIdx] = (joyIdx,GamePadType.GlobalGamePad); SetPlayerSlotData(_c, ref slotInfo); int newPlayerCount = GetPlayerCount(); errcode = ErrorCode.ErrorOk;