Skip to content

Commit

Permalink
Fix player count restriction
Browse files Browse the repository at this point in the history
  • Loading branch information
Kvel2D committed Nov 11, 2024
1 parent dddeed2 commit dc588dd
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/game_scene/game_scene.gd
Original file line number Diff line number Diff line change
Expand Up @@ -295,11 +295,6 @@ func _setup_players():
# NOTE: create players in the order of peer id's to ensure determinism
peer_id_list.sort()

if peer_id_list.size() > 2:
push_error("Too many players. Game supports at most 2.")

return

# Create teams
var team_mode: TeamMode.enm = Globals.get_team_mode()
var player_count_per_team: int = TeamMode.get_player_count_per_team(team_mode)
Expand Down

0 comments on commit dc588dd

Please sign in to comment.