mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 11:45:36 +02:00
Fix for send timer.
This commit is contained in:
parent
69e7a17f47
commit
6bf4182804
1 changed files with 2 additions and 1 deletions
|
@ -21,7 +21,8 @@
|
|||
const int SEND_INTERVAL = 50;
|
||||
|
||||
MetavoxelServer::MetavoxelServer(const QByteArray& packet) :
|
||||
ThreadedAssignment(packet) {
|
||||
ThreadedAssignment(packet),
|
||||
_sendTimer(this) {
|
||||
|
||||
_sendTimer.setSingleShot(true);
|
||||
connect(&_sendTimer, SIGNAL(timeout()), SLOT(sendDeltas()));
|
||||
|
|
Loading…
Reference in a new issue