hackerspace-ntnu / hackerspace-ntnu/Red-Planet-Rampage
Stop waiting for players to spawn after a timeout
Open
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
Assessment
This issue has not been assessed yet.