Skip to content

Commit

Permalink
initialise needToCopyGameInArchive inside onCreate based on the value
Browse files Browse the repository at this point in the history
of embed
  • Loading branch information
marclurr committed Dec 9, 2023
1 parent 7a32a37 commit 034a6d6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions love/src/main/java/org/love2d/android/GameActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ protected void onCreate(Bundle savedInstanceState) {
gamePath = "";
storagePermissionUnnecessary = false;
embed = getResources().getBoolean(R.bool.embed);
needToCopyGameInArchive = embed;

if (!embed) {
handleIntent(getIntent());
Expand Down

0 comments on commit 034a6d6

Please sign in to comment.