Skip to content

Commit f2c1dc7

Browse files
committed
[Savestates] Change recording index
1 parent e2a6e51 commit f2c1dc7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/com/minecrafttas/tasmod/savestates/SavestateHandlerClient.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -201,8 +201,8 @@ public static void loadstate(String nameOfSavestate) throws Exception {
201201
if (state == TASstate.RECORDING) {
202202
long index = savestateContainerList.size() - 1;
203203

204-
preload(savestateContainerList, index - 1);
205-
controller.setInputs(savestateContainerList, index - 1);
204+
preload(savestateContainerList, index);
205+
controller.setInputs(savestateContainerList, index);
206206
TASmodClient.virtual.clear();
207207
}
208208
/*

0 commit comments

Comments
 (0)