Minor fix.

This commit is contained in:
genxium
2023-02-18 12:07:56 +08:00
parent 8345d55e76
commit 618531f5c6
5 changed files with 11 additions and 13 deletions

View File

@@ -59,7 +59,7 @@
"ctor": "Float64Array",
"array": [
480,
320,
480,
0,
0,
0,
@@ -242,7 +242,7 @@
"ctor": "Float64Array",
"array": [
0,
128,
-9.924,
0,
0,
0,

View File

@@ -461,7 +461,7 @@
"array": [
0,
0,
210.4441731196186,
209.66956379694378,
0,
0,
0,

View File

@@ -91,7 +91,7 @@ NetworkDoctor.prototype.isTooFast = function(mapIns) {
// Don't send too fast
if (CC_DEBUG) {
// Printing of this message might induce a performance impact.
console.log(`Sending too fast, sendingFps=${sendingFps}`);
// console.log(`Sending too fast, sendingFps=${sendingFps}`);
}
return [true, inputFrameIdFront, sendingFps, srvDownsyncFps, peerUpsyncFps, rollbackFrames, skippedRenderFrameCnt];
} else {
@@ -109,7 +109,7 @@ NetworkDoctor.prototype.isTooFast = function(mapIns) {
// first comparison condition is to avoid numeric overflow
if (CC_DEBUG) {
// Printing of this message might induce a performance impact.
console.log(`Game logic ticking too fast, selfInputFrameIdFront=${inputFrameIdFront}, minInputFrameIdFront=${minInputFrameIdFront}, inputFrameUpsyncDelayTolerance=${mapIns.inputFrameUpsyncDelayTolerance}`);
// console.log(`Game logic ticking too fast, selfInputFrameIdFront=${inputFrameIdFront}, minInputFrameIdFront=${minInputFrameIdFront}, inputFrameUpsyncDelayTolerance=${mapIns.inputFrameUpsyncDelayTolerance}`);
}
return [true, inputFrameIdFront, sendingFps, srvDownsyncFps, peerUpsyncFps, rollbackFrames, skippedRenderFrameCnt];
}