1
This commit is contained in:
parent
a8eb421b4e
commit
c7c137de9a
@ -114,6 +114,17 @@ void Player::Initialize()
|
||||
},
|
||||
&xtimer_attacher);
|
||||
}
|
||||
{
|
||||
room->xtimer.SetTimeoutEx
|
||||
(SERVER_FRAME_RATE * 2,
|
||||
[this] (int event, const a8::Args* args)
|
||||
{
|
||||
if (a8::TIMER_EXEC_EVENT == event) {
|
||||
SyncVolume(-1);
|
||||
}
|
||||
},
|
||||
&xtimer_attacher);
|
||||
}
|
||||
}
|
||||
|
||||
void Player::Update(int delta_time)
|
||||
|
Loading…
x
Reference in New Issue
Block a user