Prevent dropping items on non-stop star pickup

This commit is contained in:
MysterD 2023-06-22 23:48:12 -07:00
parent 319f8292f7
commit ad91385e2b
1 changed files with 5 additions and 1 deletions

View File

@ -930,7 +930,11 @@ u32 interact_star_or_key(struct MarioState *m, UNUSED u32 interactType, struct O
}
if (m->health >= 0x100) {
mario_stop_riding_and_holding(m);
if (gServerSettings.stayInLevelAfterStar != 2) {
mario_stop_riding_and_holding(m);
}
queue_rumble_data_mario(m, 5, 80);
if (!noExit) {