mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-29 09:32:38 +00:00
add functionality for avoidtimesync
This commit is contained in:
parent
7054b239a1
commit
cebd3234f1
@ -120,10 +120,13 @@ namespace QSB.TimeSync
|
||||
SendServerTime();
|
||||
}
|
||||
else
|
||||
{
|
||||
if (!QSBCore.SkipTitleScreen)
|
||||
{
|
||||
WakeUpOrSleep();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void SendServerTime()
|
||||
=> QSBEventManager.FireEvent(EventNames.QSBServerTime, _serverTime, PlayerData.LoadLoopCount());
|
||||
@ -240,7 +243,7 @@ namespace QSB.TimeSync
|
||||
{
|
||||
UpdateServer();
|
||||
}
|
||||
else if (IsLocalPlayer)
|
||||
else if (IsLocalPlayer && !QSBCore.AvoidTimeSync)
|
||||
{
|
||||
UpdateClient();
|
||||
}
|
||||
|
@ -1,8 +1,8 @@
|
||||
{
|
||||
"debugMode": true,
|
||||
"showLines": false,
|
||||
"drawLines": true,
|
||||
"showQuantumVisibilityObjects": false,
|
||||
"showQuantumDebugBoxes": false,
|
||||
"avoidTimeSync": false,
|
||||
"avoidTimeSync": true,
|
||||
"skipTitleScreen": true
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user