fix alive break

This commit is contained in:
Rémi Heredero 2023-09-01 13:23:26 +02:00
parent b6bb8fca91
commit 397b77ab5a

View File

@ -92,7 +92,7 @@ bool ALIVE_processEvent(Event* ev) {
}
if (me->aliveTime == 0) {
if (me->haveBreak){
me->state == STAL_BREAK;
me->state = STAL_BREAK;
}
} else {
ALIVE_emitPoll(me, me->aliveTime*10, 0);