hackerspace-ntnu / hackerspace-ntnu/Red-Planet-Rampage

Stop waiting for players to spawn after a timeout

Open
#675 0 comments 0 reactions 0 assignees View on GitHub
bug feature networking
Dominant language
C#
Stars
32
Forks
0
PR merge metrics
No merged PRs in 30d

Description

In its present state, the game will wait _forever_ if players don't spawn properly (unless you lose connection, which might very well happen in those same circumstances).

We should apply a timeout to the relevant `while` loops (in Peer2PeerTransport (yikes) when spawning fps/bidding players and when starting training mode, and in MatchController when waiting to initialize the match)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.