hch
2018-10-15 6b367739c74c7b3ec1725357c86188f3c1c5af7f
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerDienstgrad.py
@@ -506,7 +506,7 @@
#  @return None
def GiveFirstLoginDienstgrad(curPlayer):
    dienstgradIDDict = ReadChConfig.GetEvalChConfig('FirstLogin_GiveDienstgrad')
    platFormName = GameWorld.GetPlayerPlatform(curPlayer.GetAccID())
    platFormName = GameWorld.GetPlayerPlatform(curPlayer)
    dienstgradIDList = dienstgradIDDict.get(platFormName)
    if not dienstgradIDList: #未配置的平台默认取key为0的内容
        dienstgradIDList = dienstgradIDDict.get(0, [])