Set opponent to loser if PlayerVictory in game service (#5)

master
Garrett Mills 4 years ago
parent fbe8ac8ce6
commit 8e0c30f01a
Signed by: garrettmills
GPG Key ID: D2BF5FBA8298F246

@ -350,6 +350,7 @@ export class GameStateService {
if(winner) {
this.current_state = GameState.PlayerVictory;
this.current_player = winner;
this.current_opponent = this.get_other_player(winner);
}
this.current_turn_had_missile_attempt = false

Loading…
Cancel
Save