X-Git-Url: https://plomlompom.com/repos/foo.html?a=blobdiff_plain;ds=sidebyside;f=plomrogue%2Fcommands.py;h=921d6e011c498744bb64659925be7cce66ffb140;hb=52a97e1d01fd8541ec8993f1d680aeb56243df9d;hp=c86aebe402ad5c1c6d5fadc776ad6e429d5092ed;hpb=509d9ca8e54529b5d728b1635df4ba4bbb0bcc23;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'