mirror of
https://github.com/RandomityGuy/MBHaxe.git
synced 2026-04-26 20:51:38 +00:00
don't rewind if finished
This commit is contained in:
parent
7717a0f08d
commit
ee4ad8dbcd
1 changed files with 2 additions and 1 deletions
|
|
@ -923,7 +923,8 @@ class MarbleWorld extends Scheduler {
|
||||||
|| MarbleGame.instance.touchInput.rewindButton.pressed
|
|| MarbleGame.instance.touchInput.rewindButton.pressed
|
||||||
|| Gamepad.isDown(Settings.gamepadSettings.rewind))
|
|| Gamepad.isDown(Settings.gamepadSettings.rewind))
|
||||||
&& Settings.optionsSettings.rewindEnabled
|
&& Settings.optionsSettings.rewindEnabled
|
||||||
&& !this.isWatching) {
|
&& !this.isWatching
|
||||||
|
&& this.finishTime == null) {
|
||||||
this.rewinding = true;
|
this.rewinding = true;
|
||||||
} else {
|
} else {
|
||||||
if (((Key.isReleased(Settings.controlsSettings.rewind) || Gamepad.isReleased(Settings.gamepadSettings.rewind))
|
if (((Key.isReleased(Settings.controlsSettings.rewind) || Gamepad.isReleased(Settings.gamepadSettings.rewind))
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue