1
This commit is contained in:
parent
c6b932dd34
commit
4a7b278f1a
Binary file not shown.
@ -10,7 +10,7 @@ namespace GameLogic
|
||||
|
||||
public static RoomInfoData RoomData;
|
||||
|
||||
public static int MaxPlayerIds = ConfigSystem.Instance.Tables.TbSystemConfig.Get(1).MaxPlayerId; // 最多九个位置
|
||||
public static int MaxPlayerIds = 23; // 最多九个位置
|
||||
public static int InitPower = ConfigSystem.Instance.Tables.TbSystemConfig.Get(1).InitPower; // 初始推力
|
||||
public static string GmPass = ConfigSystem.Instance.Tables.TbSystemConfig.Get(1).GmPassworld; // Gm解锁密码
|
||||
public static bool isGmPass = false; // 是否解锁
|
||||
|
@ -68,7 +68,7 @@ namespace GameLogic
|
||||
//var number = protCustMessageData.content.Where(c => char.IsDigit(c)).ToArray();
|
||||
var number = protCustMessageData.content.Substring(2);
|
||||
|
||||
if (number.Length == 1)
|
||||
if (number.Length > 1)
|
||||
{
|
||||
// 检查是否输入姓氏
|
||||
foreach (var surname in DataGameSceneManager.Instance.m_Strs)
|
||||
@ -96,6 +96,7 @@ namespace GameLogic
|
||||
//actor.AddUnitPlayer(data);
|
||||
data = DataGameSceneManager.Instance.CreateUnitPlayerData(protCustMessageData, index);
|
||||
actor.AddPlayer(data);
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user