X-Git-Url: https://plomlompom.com/repos/berlin_corona.txt?a=blobdiff_plain;f=plomrogue%2Fcommands.py;h=921d6e011c498744bb64659925be7cce66ffb140;hb=52a97e1d01fd8541ec8993f1d680aeb56243df9d;hp=c86aebe402ad5c1c6d5fadc776ad6e429d5092ed;hpb=c4dda73a80b3149ba2b156e18c2598af6dbfdcb3;p=plomrogue2 diff --git a/plomrogue/commands.py b/plomrogue/commands.py index c86aebe..921d6e0 100644 --- a/plomrogue/commands.py +++ b/plomrogue/commands.py @@ -410,3 +410,7 @@ def cmd_THING_CRATE_ITEM(game, crate_id, item_id): raise GameError('thing of ID %s is a crate' % item_id) crate.accept(item) cmd_THING_CRATE_ITEM.argtypes = 'int:pos int:pos' + +def cmd_MAP_CONTROL_PRESETS(game, draw_control_presets): + game.draw_control_presets = draw_control_presets +cmd_MAP_CONTROL_PRESETS.argtypes = 'bool'