mirror of
https://github.com/wassname/phaser.git
synced 2026-07-05 17:30:19 +08:00
Pre-vacation push
This commit is contained in:
+1
-1
@@ -42,7 +42,7 @@ module Phaser {
|
||||
{
|
||||
if (Phaser.GAMES.length > 0)
|
||||
{
|
||||
throw new Error('Phaser detected an instance of this game already running, aborting');
|
||||
console.log('Phaser detected an instance of this game already running, aborting');
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,8 +38,8 @@ module Phaser.Renderer.Canvas {
|
||||
return true;
|
||||
}
|
||||
|
||||
//return RectangleUtils.intersects(sprite.cameraView, camera.screenView);
|
||||
return true;
|
||||
return RectangleUtils.intersects(sprite.cameraView, camera.screenView);
|
||||
//return true;
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user