diff --git a/server/gameserver/commands.cc b/server/gameserver/commands.cc index 598b2161..f14e1ca4 100644 --- a/server/gameserver/commands.cc +++ b/server/gameserver/commands.cc @@ -345,7 +345,7 @@ void Player::_CMExecCommand(f8::MsgHdr* hdr, const cs::CMExecCommand& msg) SendDebugMsg("数值: " + str); } if (!handle.expired()) { - std::string source_name = "<-gm.self"; + std::string source_name = "<-gm.self." + a8::XValue(source_type).GetString(); auto cb = std::make_shared> ( [source_name] () -> std::string