fix : 더미클라이언트 플레이어 정보 누락 수정

This commit is contained in:
qornwh1
2026-03-06 15:07:00 +09:00
parent 2a7d4aeb09
commit 1285284aa1

View File

@@ -68,7 +68,13 @@ public class GameServer : ServerBase
{
// 더미 클라다.
ChannelManager cm = ChannelManager.Instance;
cm.AddUser(1, hashKey, new Player(), peer);
Player newPlayer = new Player
{
HashKey = hashKey,
PlayerId = (int)(hashKey & 0x7FFFFFFF),
};
cm.AddUser(1, hashKey, newPlayer, peer);
}
else
{