This commit is contained in:
aozhiwei 2024-09-05 17:49:27 +08:00
parent 72dad82547
commit c282e3158e

View File

@ -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<std::function<std::string()>>
(
[source_name] () -> std::string