9415 【BT】【后端】古神战场(修复偶发无法进入战场,提示副本已关闭的bug)
1个文件已修改
5 ■■■■■ 已修改文件
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/GameWorldProcess.py 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/GameWorldProcess.py
@@ -167,8 +167,11 @@
        
    playerManager = gameWorld.GetMapCopyPlayerManager()
    
    GameServer_DynamicLineMapStateChange(gameWorld, IPY_GameWorld.fbosClosed)
    #地图关闭时,玩家还没退出,设置延迟关闭
    if playerManager.GetPlayerCount() > 0:
        GameWorld.Log("关闭副本时还有玩家! %s" % playerManager.GetPlayerCount())
        gameWorld.SetOpenState(IPY_GameWorld.fbosWaitForClose)
        return
    
@@ -176,8 +179,6 @@
    gameWorld.SetOpenState(IPY_GameWorld.fbosClosed)
    #根据是否收缩型FB处理
    FreeOrClearFBByAutoSize(gameWorld)
    GameServer_DynamicLineMapStateChange(gameWorld, IPY_GameWorld.fbosClosed)
        
    gameWorld.SetPropertyID(0)
    PyGameData.g_crossPlayerServerGroupIDInfo.pop(copyMapID, None)