phaserjs / phaser

Phaser is a fun, free and fast 2D game framework for making HTML5 games for desktop and mobile web browsers, supporting Canvas and WebGL rendering.
https://phaser.io
MIT License
37.16k stars 7.1k forks source link

Pass pauseDuration 0 in `Phaser.Core.Events#RESUME` after manual game resume #6870

Closed samme closed 3 months ago

samme commented 3 months ago

This PR

After #6867, the other RESUME event (from calling Phaser.Game#pause()) also needed a pauseDuration argument. In this case it's 0 because the TimeStep wasn't actually paused.

photonstorm commented 3 months ago

👍