Skip to content

Commit 127ce4d

Browse files
authored
Fix the game screen freezes occasionally even though you hear the sounds
1 parent ae022c2 commit 127ce4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/rpg_core/Graphics.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ Graphics.tickEnd = function() {
161161
* @param {Stage} stage The stage object to be rendered
162162
*/
163163
Graphics.render = function(stage) {
164-
if (this._skipCount === 0) {
164+
if (this._skipCount <= 0) {
165165
var startTime = Date.now();
166166
if (stage) {
167167
this._renderer.render(stage);

0 commit comments

Comments
 (0)