fix rewind availability check

This commit is contained in:
Alexey Nurgaliev 2023-08-11 13:54:58 +03:00
parent 0c02466501
commit ff99322990

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);
}
}