hxp
2024-03-07 53cbbf89c5afe444a420c0ec3d5c8cd05d1b1bd1
ServerPython/CoreServerGroup/GameServer/Script/GameWorld.py
@@ -1122,13 +1122,14 @@
    
    return 0
def DebugAnswer(curPlayer, text):
def DebugAnswer(curPlayer, text, isLog=True):
    '''转码后再发DebugAnswer'''
    #===========================================================================
    # if not GetGameWorld().GetDebugLevel():
    #    return
    #===========================================================================
    DebugLog(text)
    if isLog:
        DebugLog(text)
    text = text.decode(ShareDefine.Def_Game_Character_Encoding).encode(GetCharacterEncoding())
    curPlayer.DebugAnswer(text)
    return