Skip to content

Commit

Permalink
试图修bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Gingmzmzx committed Jan 13, 2023
1 parent 5734268 commit d0e9fb9
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,13 @@ public void onTeamEliminated(TeamEliminatedEvent event) {
aliveTeam.set(it);
}
});

// TODO EJECT不知道管不管用,同时解散队伍
p.eject();
op.eject();
team.unregTeam();

// GameOver
if (ifGameOver.get() == 1){
GameOverEvent gameOverEvent = new GameOverEvent(aliveTeam.get());
EventUtils.callEvent(gameOverEvent);
Expand Down

0 comments on commit d0e9fb9

Please sign in to comment.