hxp
2020-01-11 ece7760d17592dfcadef52e47848836b13cf3f47
1111 MissionDir命令找不到任务名报错防范
1个文件已修改
3 ■■■■ 已修改文件
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/MissionDir.py 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/MissionDir.py
@@ -45,7 +45,8 @@
    MissionState = curMission.GetState()
    DescriptionIndex = curMission.GetDescriptionIndex()
    curQuestData = QuestManager.FindQuest(MissionID)
    GameWorld.DebugAnswer(curPlayer, "ID:%d\t状态:%d\t索引:%d    %s" % (MissionID, MissionState, DescriptionIndex, curQuestData.Name))
    name = curQuestData.Name if curQuestData else ""
    GameWorld.DebugAnswer(curPlayer, "ID:%d\t状态:%d\t索引:%d    %s" % (MissionID, MissionState, DescriptionIndex, name))
    if not isShowKey:
        return