Skip to content

Commit

Permalink
Apex Legends Season 18 .bsp_lump.client support
Browse files Browse the repository at this point in the history
  • Loading branch information
snake-biscuits committed Aug 9, 2023
1 parent 5f043a5 commit 37d2575
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bsp_tool/respawn.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@ def __init__(self, bsp: RespawnBsp):
for LUMP in bsp.branch.LUMP:
lump_filename = f"{bsp.filename}.{LUMP.value:04x}.bsp_lump"
if lump_filename not in bsp.associated_files:
continue
lump_filename += ".client" # Apex Legends Season 18
if lump_filename not in bsp.associated_files:
continue
lump_filename = os.path.join(bsp.folder, lump_filename)
lump_filesize = os.path.getsize(lump_filename)
lump_header = ExternalLumpHeader(*bsp.headers[LUMP.name], lump_filename, lump_filesize)
Expand Down

0 comments on commit 37d2575

Please sign in to comment.