X-Git-Url: https://plomlompom.com/repos/?p=plomrogue2-experiments;a=blobdiff_plain;f=new%2Fplomrogue%2Fcommands.py;h=ad53438b75974759b19a4bb29394a60b581b2e84;hp=35ced5cb0314d89cea9fbf51fbd3a9db7dad2cd9;hb=cffcecff2e4bb085305b9ef0f7cf4b5b20445f44;hpb=76d1e8d03aea96af9339c0021922ac314c0c2a5c diff --git a/new/plomrogue/commands.py b/new/plomrogue/commands.py index 35ced5c..ad53438 100644 --- a/new/plomrogue/commands.py +++ b/new/plomrogue/commands.py @@ -84,9 +84,8 @@ def cmd_SAVE(game): write(f, 'THING_TYPE %s %s' % (thing.id_, thing.type_)) write(f, 'THING_POS %s %s' % (thing.id_, stringify_yx(thing.position))) - write(f, 'THING_INVENTORY %s %s' % (thing.id_, - ','.join([str(i) for i in - thing.inventory]))) + write(f, 'THING_INVENTORY %s %s' % + (thing.id_,','.join([str(i) for i in thing.inventory]))) if hasattr(thing, 'task'): task = thing.task if task is not None: