Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
TheGreatRambler committed Dec 31, 2021
1 parent 079037f commit 8583a2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -773,7 +773,7 @@ static void main_loop() {
#ifdef __EMSCRIPTEN__
std::string dest = fmt::format("{}/{}.json", assetsFolder, selected_level_info.name);
std::string name = selected_level_info.name + ".json";
selected_level_info.level->ExportToJSON(dest, selected_level_info.drawer.GetInstructions());
selected_level_info.parser->ExportToJSON(dest, selected_level_info.drawer->GetInstructions());
EM_ASM(
{
var filenameToDownload = UTF8ToString($0, $1);
Expand Down

0 comments on commit 8583a2d

Please sign in to comment.