Skip to content

Commit 59ff0b0

Browse files
committed
Docs fix.
1 parent 989e443 commit 59ff0b0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/utils/Utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ Phaser.Utils = {
8080
* Returns true or false based on the chance value (default 50%). For example if you wanted a player to have a 30% chance
8181
* of getting a bonus, call chanceRoll(30) - true means the chance passed, false means it failed.
8282
*
83-
* @method Phaser.Math#chanceRoll
83+
* @method Phaser.Utils#chanceRoll
8484
* @param {number} chance - The chance of receiving the value. A number between 0 and 100 (effectively 0% to 100%).
8585
* @return {boolean} True if the roll passed, or false otherwise.
8686
*/

0 commit comments

Comments
 (0)