From a650e1db492174036aa853b267119f373243270f Mon Sep 17 00:00:00 2001 From: Eryn Wells Date: Sat, 11 Mar 2023 01:10:10 -0800 Subject: [PATCH] Clean up the context.new call in __main__ --- erynrl/__main__.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/erynrl/__main__.py b/erynrl/__main__.py index 2a79e44..0d18787 100644 --- a/erynrl/__main__.py +++ b/erynrl/__main__.py @@ -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