hxp
4 天以前 7bf88131759c20d54e175010d5b80da5d8148713
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PetControl.py
@@ -620,12 +620,7 @@
    return
def GetMapCanOutPet(curPlayer):
    ## 检查本地图可否出战宠物,支持前端自定义场景
    customMapID = PlayerControl.GetCustomMapID(curPlayer)
    if customMapID:
        ipyMapData = IpyGameDataPY.GetIpyGameData("ChinMap", customMapID)
        canOutPet = True if ipyMapData and ipyMapData.GetCanOutPet() else False
    else:
    ## 检查本地图可否出战宠物
        canOutPet = GameWorld.GetMap().GetMapCanOutPet()
    return canOutPet