修正非P1玩家退出房间的问题

This commit is contained in:
sin365 2025-01-02 15:05:21 +08:00
parent 54516d9482
commit 3706ca9c82

View File

@ -738,7 +738,7 @@ namespace AxibugEmuOnline.Server
var dataarr = PlayerSlot.Where(w => w.UID == uid).ToArray();
foreach (var slot in dataarr)
{
dataarr[slot.SlotIdx].Init(slot.SlotIdx);
slot.Init(slot.SlotIdx);
ClearInputDataBySlotIdx(slot.SlotIdx);
}
}