We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4e208c7 + dea95ec commit 5f704f0Copy full SHA for 5f704f0
1 file changed
src/time/Time.js
@@ -140,12 +140,13 @@ Phaser.Time = function (game) {
140
* The suggested frame rate for your game, based on an averaged real frame rate.
141
* This value is only populated if `Time.advancedTiming` is enabled.
142
*
143
- * _Note:_ This is not available until after a few frames have passed; use it after a few seconds (eg. after the menus)
+ * _Note:_ This is not available until after a few frames have passed; until then
144
+ * it's set to the same value as desiredFps.
145
146
* @property {number} suggestedFps
147
* @default
148
*/
- this.suggestedFps = null;
149
+ this.suggestedFps = this.desiredFps;
150
151
/**
152
* Scaling factor to make the game move smoothly in slow motion
0 commit comments