fix Sync Spawn Timer
Some checks failed
Dynamic Branch Deploy / build-and-deploy (push) Failing after 1m19s
Some checks failed
Dynamic Branch Deploy / build-and-deploy (push) Failing after 1m19s
This commit is contained in:
@@ -43,8 +43,9 @@ async function sendChunk() {
|
||||
}
|
||||
|
||||
// Sync Spawning Timer
|
||||
if (data.nextSpawnTick) {
|
||||
if (data.NextSpawnTick) {
|
||||
if (Math.abs(nextSpawnTick - data.nextSpawnTick) > 5) {
|
||||
console.log("Sync Spawn Timer:", nextSpawnTick, "->", data.NextSpawnTick);
|
||||
nextSpawnTick = data.nextSpawnTick;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user