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