mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-06 06:01:46 +00:00
Fixes step autosave saving multiple times on same step
This commit is contained in:
@@ -32,6 +32,7 @@ if AUTOSAVE_STEPS_SWITCH
|
||||
if stepsNum > 0 && !$PokemonGlobal.sliding
|
||||
return if $PokemonGlobal.stepcount < 100
|
||||
if $PokemonGlobal.stepcount % stepsNum == 0
|
||||
$PokemonGlobal.stepcount+=1
|
||||
Kernel.tryAutosave()
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user