aboutsummaryrefslogtreecommitdiff
path: root/plugins/cherry/cherry.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/cherry/cherry.c')
-rw-r--r--plugins/cherry/cherry.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/cherry/cherry.c b/plugins/cherry/cherry.c
index 1f96aca..1b0ac8a 100644
--- a/plugins/cherry/cherry.c
+++ b/plugins/cherry/cherry.c
@@ -62,7 +62,8 @@ static void spawn_cherry(int x, int y, enum mg_context ctx)
__attribute__((constructor)) static void init()
{
register_air_function((struct generator_function) {
- .chance = 100,
+ .corridor_chance = 100,
+ .room_chance = 100,
.callback = &spawn_cherry,
});
}