Skip to content

Commit 527b179

Browse files
kirre-bylundkristijan-ujevic
authored andcommitted
Refresh player file list after file deletion
1 parent 38000de commit 527b179

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Samples~/LootLockerExamples/Scripts/PlayerFiles.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ IEnumerator Download(string url, System.Action<string> fileContent)
114114
}
115115
else
116116
{
117-
// Show results as text
117+
// Show results as text
118118
Debug.Log(www.downloadHandler.text);
119119
fileContent(www.downloadHandler.text);
120120
}
@@ -231,6 +231,7 @@ public void DeleteFile()
231231
{
232232
informationText.text += "Error" + response.Error + "\n";
233233
}
234+
GetPlayerFiles();
234235
});
235236
}
236237

0 commit comments

Comments
 (0)