fix rewind availability check

This commit is contained in:
Alexey Nurgaliev 2023-08-11 13:54:58 +03:00
parent 1e46a62f23
commit 2c8e1df175

View file

@ -172,7 +172,7 @@ class EJS_GameManager {
this.functions.toggleFastForward(this.EJS.isFastForward ? !value : value);
}
if (index === 28) {
if (window.EJS_rewindEnabled) {
if (this.EJS.rewindEnabled) {
this.functions.toggleRewind(value);
}
}