1
This commit is contained in:
parent
469e3191bf
commit
42d89c0768
@ -85,6 +85,16 @@ void InGameVoice::OnHumanBeKill(int killer_id, Human* deader)
|
||||
{
|
||||
if (a8::TIMER_EXEC_EVENT == event) {
|
||||
DecIntMap(room->GetInGameVoice()->personal_series_kills_, killer_id);
|
||||
}
|
||||
},
|
||||
&room_->xtimer_attacher_);
|
||||
|
||||
room_->xtimer.SetTimeoutWpEx
|
||||
(
|
||||
SERVER_FRAME_RATE * mt::InGameVoice::s_series_kill_interval,
|
||||
[room = room_, killer_id] (int event, const a8::Args* args)
|
||||
{
|
||||
if (a8::TIMER_EXEC_EVENT == event) {
|
||||
DecIntMap(room->GetInGameVoice()->personal_nodead_series_kills_, killer_id);
|
||||
}
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user