mirror of
https://github.com/wassname/phaser.git
synced 2026-08-13 12:30:11 +08:00
Fixed an issue where the Tile.physicsElapsed would go insane if the game has been paused for a long time.
This commit is contained in:
+3
-3
@@ -449,7 +449,7 @@ Phaser.Group.prototype = {
|
||||
|
||||
forEach: function (callback, callbackContext, checkExists) {
|
||||
|
||||
checkExists = checkExists || false;
|
||||
if (typeof checkExists == 'undefined') { checkExists = false; }
|
||||
|
||||
if (this._container.first._iNext)
|
||||
{
|
||||
@@ -470,7 +470,7 @@ Phaser.Group.prototype = {
|
||||
|
||||
},
|
||||
|
||||
forEachAlive: function () {
|
||||
forEachAlive: function (callback, callbackContext) {
|
||||
|
||||
if (this._container.first._iNext)
|
||||
{
|
||||
@@ -491,7 +491,7 @@ Phaser.Group.prototype = {
|
||||
|
||||
},
|
||||
|
||||
forEachDead: function () {
|
||||
forEachDead: function (callback, callbackContext) {
|
||||
|
||||
if (this._container.first._iNext)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user