Skip to content

Commit 8436540

Browse files
Android: Fixed assets:// access i.e. fixed .pck from assets://
1 parent cb3af5a commit 8436540

File tree

1 file changed

+1
-0
lines changed
  • platform/android/java/lib/src/main/java/org/godotengine/godot/io/file

1 file changed

+1
-0
lines changed

platform/android/java/lib/src/main/java/org/godotengine/godot/io/file/AssetData.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ internal class AssetData(context: Context, private val filePath: String, accessF
106106

107107
override fun seek(position: Long) {
108108
try {
109+
inputStream.reset();
109110
inputStream.skip(position)
110111

111112
this.position = position

0 commit comments

Comments
 (0)