fix break

This commit is contained in:
Rémi Heredero 2023-09-01 16:32:37 +02:00
parent 397b77ab5a
commit 4750463f7b

View File

@ -142,6 +142,7 @@ bool ALIVE_processEvent(Event* ev) {
break; break;
case STAL_SETUP: case STAL_SETUP:
me->checker = true;
if (me->setup.f != NULL) { if (me->setup.f != NULL) {
me->setup.f(me->setup.p); me->setup.f(me->setup.p);
} }
@ -166,6 +167,7 @@ bool ALIVE_processEvent(Event* ev) {
break; break;
case STAL_ALIVE: case STAL_ALIVE:
me->sender = true;
break; break;
case STAL_BREAK: case STAL_BREAK: