File tree Expand file tree Collapse file tree 1 file changed +0
-13
lines changed
Assets/BossRoom/Scripts/Client/Game/State Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Original file line number Diff line number Diff line change @@ -10,19 +10,6 @@ public class ClientPostGameState : GameStateBehaviour
10
10
{
11
11
public override GameState ActiveState { get { return GameState . PostGame ; } }
12
12
13
- protected override void Start ( )
14
- {
15
- base . Start ( ) ;
16
-
17
- //it is common for the user to get dumped back to main menu from here (i.e., if the host decides not to play again), and
18
- //it is a little funny to display a "Connection to Host Lost" message in that case. The best thing would probably be to
19
- //display a "Host Abandoned the Game" message, but this would require some more plumbing (an RPC from the host before it quit,
20
- //containing that information).
21
- //In the meantime, we just set "UserRequested" to suppress the Disconnected error popup.
22
- var portalGO = GameObject . FindGameObjectWithTag ( "GameNetPortal" ) ;
23
- portalGO . GetComponent < ClientGameNetPortal > ( ) . DisconnectReason . SetDisconnectReason ( ConnectStatus . UserRequestedDisconnect ) ;
24
- }
25
-
26
13
public override void OnNetworkSpawn ( )
27
14
{
28
15
if ( ! IsClient )
You can’t perform that action at this time.
0 commit comments