Skip to content

Commit 2310e5d

Browse files
committed
Sound.volume was accidentally repeated twice in the source (thanks @LoneStranger phaserjs#2569)
1 parent b0cb949 commit 2310e5d

2 files changed

Lines changed: 3 additions & 8 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -326,15 +326,15 @@ You can read all about the philosophy behind Lazer [here](http://phaser.io/news/
326326
### Updates
327327

328328
* TypeScript definitions fixes and updates (thanks)
329-
* Docs typo fixes (thanks)
330-
*
329+
* Docs typo fixes (thanks @drhayes @)
330+
* The TilemapParser will now add more data when importing Image object types from Tiled. The extra data available is: image width, image height, and flags to see if the image is flipped either horizontally, vertically or diagonally (thanks @gotenxds #2564 #2554)
331331
*
332332
*
333333

334334
### Bug Fixes
335335

336336
* Fixed issue in Group.align where the cell wouldn't increase if `rows` was great than -1
337-
*
337+
* Sound.volume was accidentally repeated twice in the source (thanks @LoneStranger #2569)
338338
*
339339

340340
For changes in previous releases please see the extensive [Version History](https://github.com/photonstorm/phaser/blob/master/CHANGELOG.md).

src/sound/Sound.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,6 @@ Phaser.Sound = function (game, key, volume, loop, connect) {
4141
*/
4242
this.loop = loop;
4343

44-
/**
45-
* @property {number} volume - The sound or sound marker volume. A value between 0 (silence) and 1 (full volume).
46-
*/
47-
this.volume = volume;
48-
4944
/**
5045
* @property {object} markers - The sound markers.
5146
*/

0 commit comments

Comments
 (0)