Prevent dropping items on non-stop star pickup
This commit is contained in:
parent
319f8292f7
commit
ad91385e2b
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue