Skip to content

Commit

Permalink
initialize windows64 export option
Browse files Browse the repository at this point in the history
  • Loading branch information
ianmaclarty committed Sep 17, 2019
1 parent 4efda2b commit 0fd378a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/am_backend_ios_metal.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1548,10 +1548,12 @@ static void register_iap_product_mt(lua_State *L) {
lua_State *L = ios_eng->L;
lua_newtable(L);
for (SKProduct *product in response.products) {
[product retain];
lua_pushstring(L, [[product productIdentifier] UTF8String]);
am_new_userdata(L, am_iap_product)->product = product;
lua_settable(L, -3);
if (product != nil) {
[product retain];
lua_pushstring(L, [[product productIdentifier] UTF8String]);
am_new_userdata(L, am_iap_product)->product = product;
lua_settable(L, -3);
}
}
am_call_amulet(L, "_iap_retrieve_products_finished", 1, 0);
}
Expand Down
1 change: 1 addition & 0 deletions src/am_export.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ struct am_export_flags {

am_export_flags() {
export_windows = false;
export_windows64 = false;
export_mac = false;
export_mac_app_store = false;
export_linux = false;
Expand Down

0 comments on commit 0fd378a

Please sign in to comment.