Clean up the context.new call in __main__
This commit is contained in:
parent
327cc90b2e
commit
a650e1db49
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue