mirror of
https://github.com/wassname/phaser.git
synced 2026-07-13 01:00:12 +08:00
* Fixed small bug stopping Tween.pause / resume from resuming correctly when called directly.
* Fixed an issue where Tweens.removeAll wasn't clearing tweens in the addition queue. * Change: When you swap State all active tweens are now purged.
This commit is contained in:
@@ -235,7 +235,9 @@ Phaser.StateManager.prototype = {
|
||||
this.onShutDownCallback.call(this.callbackContext);
|
||||
}
|
||||
|
||||
if (clearWorld) {
|
||||
if (clearWorld)
|
||||
{
|
||||
this.game.tweens.removeAll();
|
||||
|
||||
this.game.world.destroy();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user