Clean up the context.new call in __main__

This commit is contained in:
Eryn Wells 2023-03-11 01:10:10 -08:00
parent 327cc90b2e
commit a650e1db49

View file

@ -56,7 +56,11 @@ def main(argv):
interface = Interface(configuration.console_size, engine)
tileset = configuration.console_font_configuration.tileset
with tcod.context.new(columns=interface.console.width, rows=interface.console.height, tileset=tileset, title=TITLE) as context:
with tcod.context.new(
columns=interface.console.width,
rows=interface.console.height,
tileset=tileset,
title=TITLE) as context:
interface.run_event_loop(context)
return 0