fix blinker

This commit is contained in:
Rémi Heredero 2023-09-04 15:21:23 +02:00
parent f45fd4ae7e
commit 682dca2bb1

View File

@ -53,7 +53,7 @@ bool BLINKER_processEvent(Event* ev) {
case STBL_ON:
if (me->nBlinkIsOn) {
me->remainBlinks--;
me->remainBlinks = (me->remainBlinks) - 1;
}
if (evid == evBLtimer) {
me->state = STBL_OFF;