Fixed a bug with quit_game_bed
The interpreter needs to +1 to the index before saving or else quit_game_bed will have the game stuck in an infinite loop of quitting the game when reloading, but we need to -1 immediately after because otherwise the interpreter will skip a command after this is called.
This commit is contained in:
parent
01be2d6f4c
commit
2a03b10d7c
|
|
@ -92,5 +92,6 @@ end
|
||||||
def quit_game_bed
|
def quit_game_bed
|
||||||
$game_system.map_interpreter.index += 1
|
$game_system.map_interpreter.index += 1
|
||||||
save
|
save
|
||||||
|
$game_system.map_interpreter.index -= 1
|
||||||
$scene = nil
|
$scene = nil
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue