1
This commit is contained in:
parent
9519a9aff5
commit
8586eb5eb9
@ -59,6 +59,7 @@ void GunGrasp::Clear()
|
|||||||
{
|
{
|
||||||
while (!event_listeners_.empty()) {
|
while (!event_listeners_.empty()) {
|
||||||
owner_->GetTrigger()->RemoveEventHandler(event_listeners_[0]);
|
owner_->GetTrigger()->RemoveEventHandler(event_listeners_[0]);
|
||||||
|
event_listeners_.erase(event_listeners_.begin());
|
||||||
}
|
}
|
||||||
signet_hash_.clear();
|
signet_hash_.clear();
|
||||||
for (auto& head : grasp_triggers_) {
|
for (auto& head : grasp_triggers_) {
|
||||||
|
@ -60,6 +60,13 @@ namespace mt
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
std::vector<std::string> strings;
|
||||||
|
a8::Split(graspbuff_time(), strings, '|');
|
||||||
|
for (auto& str : strings) {
|
||||||
|
_buff_times.push_back(a8::XValue(str).GetInt());
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void GraspBuff::Init2()
|
void GraspBuff::Init2()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user