diff --git a/scripts/assets.py b/scripts/assets.py index 9b30224..d40b1bb 100644 --- a/scripts/assets.py +++ b/scripts/assets.py @@ -307,7 +307,7 @@ def stitch_sprites(metadata, filename_base): json_filename = os.path.expanduser(filename_base) + '.js' print('saving json to', json_filename) with open(json_filename, 'w') as json_file: - json_file.write(' const spritesheet_json = ') + json_file.write('const spritesheet_json = ') json.dump(output_json, json_file, sort_keys=True, indent=2) json_file.write(';')