Skip to content

Commit

Permalink
Added end_of_game command after second half overtime
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan committed Feb 8, 2022
1 parent 1dd99d8 commit dcba692
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mslrb2015/StateMachine.pde
Original file line number Diff line number Diff line change
Expand Up @@ -100,11 +100,12 @@ static class StateMachine
if (bCommoncmds[CMDID_COMMON_HALFTIME].Label == "Game Over"){
send_event_v2(COMM_GAMEOVER, Description.get(COMM_GAMEOVER), null, -1);
gsCurrent = GameStateEnum.GS_ENDGAME;
break;
} else{
send_event_v2(COMM_END_GAME, Description.get(COMM_END_GAME), null, -1);
}
break;
case GS_PENALTIES:
send_event_v2(COMM_END_GAME, Description.get(COMM_END_GAME), null, -1);
break;
case GS_ENDGAME:
send_event_v2(COMM_GAMEOVER, Description.get(COMM_GAMEOVER), null, -1);
Expand Down

0 comments on commit dcba692

Please sign in to comment.