mirror of
https://github.com/photonstorm/phaser
synced 2024-11-23 21:24:09 +00:00
typeof fix.
This commit is contained in:
parent
c32706f98c
commit
a60246d3c2
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ Phaser.Utils = {
|
||||||
*/
|
*/
|
||||||
rotateArray: function (matrix, direction) {
|
rotateArray: function (matrix, direction) {
|
||||||
|
|
||||||
if (typeof direction !== 'String')
|
if (typeof direction !== 'string')
|
||||||
{
|
{
|
||||||
direction = ((direction % 360) + 360) % 360;
|
direction = ((direction % 360) + 360) % 360;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue