1
This commit is contained in:
parent
8a508e47b2
commit
1ab8647bbd
@ -232,9 +232,13 @@ void CondAddBuff::ProcLimitTimeKillTarget()
|
||||
|
||||
auto holder = std::make_shared<a8::Holder>
|
||||
(
|
||||
[context] (const a8::Args& args)
|
||||
[this, context] (const a8::Args& args)
|
||||
{
|
||||
|
||||
if (!owner->room->IsDestorying()) {
|
||||
for (auto& pair : context->watch_targets) {
|
||||
owner->GetTrigger()->RemoveEventHandler(std::get<1>(pair.second));
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
auto cb =
|
||||
|
Loading…
x
Reference in New Issue
Block a user