swapped argument order of Rectangle.containsRect - fixes #1095

This commit is contained in:
beeglebug 2014-08-21 20:59:08 +01:00
parent 118ea6f84a
commit a435191fd0

View file

@ -206,7 +206,7 @@ Phaser.Rectangle.prototype = {
*/
containsRect: function (b) {
return Phaser.Rectangle.containsRect(this, b);
return Phaser.Rectangle.containsRect(b, this);
},