Skip to content

Commit

Permalink
don't write out backrooms unless dual
Browse files Browse the repository at this point in the history
  • Loading branch information
gmjosack committed Nov 28, 2023
1 parent 1841603 commit 5656280
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/modlunky2/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.29.0
0.29.1
Original file line number Diff line number Diff line change
Expand Up @@ -613,11 +613,15 @@ def map_layer(layer):
)

def convert_to_chunk(self, room_instance):
bg = []
if TemplateSetting.DUAL in room_instance.settings:
bg = room_instance.back

return Chunk(
comment=room_instance.name,
settings=room_instance.settings,
foreground=room_instance.front,
background=room_instance.back,
background=bg,
)

def get_level_templates(self):
Expand Down

0 comments on commit 5656280

Please sign in to comment.