This commit is contained in:
账号名 2024-03-09 16:54:20 +08:00
parent 8b64184972
commit bb1dc8f2da
1 changed files with 10 additions and 1 deletions

View File

@ -467,7 +467,16 @@ public class GameManager : MonoSingleton<GameManager>
{
uavm.wrjModel = (WRJModel)wrjModelCount;
device.name = uavm.wrjModel.ToString();
int bdxx = int.Parse(data.bdxx);
int bdxx;
if (data.bdxx == "")
{
bdxx = -1;
}
else
{
bdxx = int.Parse(data.bdxx);
}
uavm.groupId = bdxx;
}
}